Skip to Content
ASP.NET Core Security
book

ASP.NET Core Security

by Christian Wenz
July 2022
Beginner to intermediate
368 pages
9h 48m
English
Manning Publications
Content preview from ASP.NET Core Security

6 SQL injection (and other injections)

This chapter covers

  • Learning how string concatenations lead to SQL injection
  • Understanding the consequences of SQL injection
  • Avoiding SQL injection with prepared statements
  • Using an OR (object-relational) mapper
  • Other types of injection attacks

In early March 2021, Ars Technica reported (see the following callout) that 70 GB of data was supposedly stolen from the infamous social media platform Gab. This data included passwords and other user data, private messages, and more. The reason: the code was vulnerable to SQL injection. This allowed an anonymous attacker to access and download this vast amount of data and to make it available to selected researchers.

note See http://mng.bz/gwAE for the initial ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Pro ASP.NET Core Identity: Under the Hood with Authentication and Authorization in ASP.NET Core 5 and 6 Applications

Pro ASP.NET Core Identity: Under the Hood with Authentication and Authorization in ASP.NET Core 5 and 6 Applications

Adam Freeman

Publisher Resources

ISBN: 9781633439986Publisher SupportOtherPublisher WebsiteSupplemental ContentErrata PagePurchase Link