Patents
US 7,487,149 B2#7701414 Most CitedExpiredUnited States (USPTO)Utility

Method and apparatus for providing query-level security in a database system

13Forward Citations (#7701414 Global)
0.8/yrCitation Velocity (#9809452 Global)
2.21Citation PageRank (#12363003 Global)
8Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

One embodiment of the present invention provides a system that facilitates using query signatures to provide security for a database system. During operation, the database system receives a query. Next, the system parses the query to determine a signature for the query. This signature specifies a structure based on operators for the query and is independent of the value of literals in the query. The system then determines if the signature can be found in a signature cache which contains valid query signatures. If so, the system processes the query.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 13.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for using query signatures to detect structured query language (SQL) injection, comprising: initializing a signature cache, wherein initializing the signature cache involves: trapping database queries in a controlled environment, parsing the database queries to produce a set of valid signatures, wherein parsing the database queries involves retaining SQL keywords contained in each query, and removing field names and corresponding values in each query, to determine the signature for each query; wherein the signature for a query contains the text of SQL keywords and operands without any

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (5)

  • ASP Alliance, http://www.aspalliance.com, Dec. 29, 2003.
  • Chris Anley: "Advanced SQL Injection In SQL Server Applications" NGSSOFTWARE Insight Security Research (NISR) Publication, "Online! 2002, pp. 1-25, XP002336188 Retrieved from the Internet" URL:http://www.nextgenss.com/papers/advanced-sql-injection.pdf> 'retrieved on Jul. 14, 2005.
  • Daniel Lutz: "Vertiedigung gegen SQL-Injection-Angriffe" Semesterarbeit Department Für Informatik Eidgenössische Technische Hochschule Zürich, CH Retrieved from the Internet URL:http://www.infsec.ethz.ch/people/psevinc/sqliadReport/pdf> 'retrieved on Jul. 14, 2005.
  • PBDR, http://pbdr.com/vbtips/asp/ReplaceSQL.htm, Jun. 24, 2003 Waybackmachine, http://web.archive.org/web/20030624033542/http://www.pbdr.com/vbtips/asp/ReplaceSQL.htm.
  • Publication: "Access control in a relational data base management system by query modification" by Stonebraker and Wong, Proc.ACM Ann. Conf. San Diego, Ca, Nov. 1974, pp. 180-187.