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...http://www.google.ca/patents/US7487149?utm_source=gb-gplus-sharePatent US7487149 - Method and apparatus for providing query-level security in a database system