Eliminate Sql Injection Using LINQ

I V. Vilasini, P. Chellamal, Me · 2014

As web application security breaches and attempts rise, developers are increasingly being asked to take more responsibility for the security of their applications. In fact security-related concerns are hard to apply as they involve adding complexity to already complex code. In this paper, we have proposed a lightweight approach to prevent SQL Injection attacks, that it can actually be well defended by using LINQ (Language Integrated Query) .LINQ to SQL, when used exclusively for data access, eliminates the possibility of SQL injection in your application for one simple reason: every SQL query that LINQ executes on your behalf is parameterized. Internally, it means that when LINQ to SQL queries the database, instead of using plain values, it passes them as SQL parameters, which means they can never be treated as executable code by the database. This is also true for most (if not all) ORM mappers out there.

Cited by 2 works.

Authors

References