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
- State of the Art: Automated Black-Box Web Application Vulnerability Testing
- Preventing SQL injection attacks in stored procedures
- A survey on SQL injection: Vulnerabilities, attacks, and prevention techniques
- An Approach for SQL Injection Vulnerability Detection
- Detecting SQL Injection Vulnerabilities in Web Services
- Combinatorial Approach for Preventing SQL Injection Attacks
- Mining input sanitization patterns for predicting SQL injection and cross site scripting vulnerabilities
- Comparison of SQL injection detection and prevention techniques
- Building a Test Suite for Web Application Scanners
- Prevention of SQL Injection attack using query transformation and hashing