Patent ID: 11949676
Assignee: CYRAL INC.
Field: Digital communication (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 6:
7. A system, comprising:
a processor configured to:
receive a query for a data source at a wrapper, the wrapper including a dispatcher and a service, the dispatcher receiving the query and being data agnostic;
provide the query from the dispatcher to the data source and to the service; and
analyze the query using the service, comprising to:
parse the query;
provide a logical structure based on the query; and
analyze the logical structure, comprising to:
perform one or more of the following:
A) determine that the query adversely affects performance; and
 in response to a determination that the query adversely affects performance, rewrite the query to remove an “OR” clause, a tautology, or both from the query; and/or
B) determine that the query is an attack, comprising to:
determine that the query includes wildcards in users' names and/or tautologies in users' names; and
in response to a determination that the query includes wildcards in the users' names and/or tautologies in the users' names, determine that the query is the attack;
in response to a determination that the query is an attack, preventing access to the data source, comprising to:
 terminate a connection to a client from which the query originated; and

a memory coupled to the processor and configured to provide the processor with instructions.