×

SQL injection prevention

  • US 8,499,170 B1
  • Filed: 10/08/2008
  • Issued: 07/30/2013
  • Est. Priority Date: 10/08/2008
  • Status: Active Grant
First Claim
Patent Images

1. A method of protecting data in a database utilized by an application that is vulnerable to SQL injection, the method comprising:

  • receiving a SQL statement at a SQL injection prevention module within the application;

    identifying a SQL command sequence within the SQL statement;

    comparing the SQL command sequence with a SQL pattern contained in a database security policy, wherein the database security policy includes a violation severity level;

    determining that there is a match between the SQL command sequence and the SQL pattern, such that there is a violation of the database security policy by the SQL statement;

    determining if the violation severity level of the database security policy is critical or non-critical; and

    permitting the SQL command sequence to execute and encrypting a result of the execution of the SQL command sequence when there is a match between the SQL command sequence and the SQL pattern and the violation severity level is non-critical.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×