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

Claim 12:
13. A computer program product, the computer program product being embodied in a tangible non-transitory computer readable storage medium and comprising computer instructions for:
receiving 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;
providing the query from the dispatcher to the data source and to the service; and
analyzing the query using the service, comprising:
parsing the query;
providing a logical structure based on the query; and
analyzing the logical structure, comprising:
performing one or more of the following:
A) determining that the query adversely affects performance; and
in response to a determination that the query adversely affects performance, rewriting the query to remove an “OR” clause, a tautology, or both from the query; and/or

B) determining that the query is an attack, comprising:
determining 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, determining that the query is the attack;
in response to a determination that the query is an attack, preventing access to the data source, comprising:
 terminating a connection to a client from which the query originated.