Methods of Detection and Prevention of SQL Injection with Some Java Code
Keywords:
SQL Injection, SQL Injection Detection, SQL Injection Prevention, Prepared statement, SQL Queries.Abstract
In this paper, we are presenting a fundamentals of SQL Injection. Also we will discuss the types of SQL Injection.
Then we will detect the SQL injection and provide the detection algorithm includes these steps: lexicalanalysis of source
code, parsing of source code, constructingabstract syntax tree of source code, defining rules of SQL injection attack . And the
methods to prevent the SQL injection.