# US 2015/0150075 A1 · Methods, systems, and computer program products for verifying user data access policies when server and/or user are not trusted

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0150075 A1
- Document ID: US20150150075A1
- Status: Published application
- Kind: A1
- Application number: 14/092,112
- Filed: 2013-11-27
- Published: 2015-05-28
- Earliest claimed: 2013-11-27
- Assignees: AT&T Intellectual Property I, L.P.
- Applicants: At&T Intellectual Property I, L.P.
- Inventors: Evgene Vahlis; Paul Giura
- Web page: https://patentgrep.com/patent/US20150150075A1

## CPC

- H04L 63/20: {for managing network security; network security policies in general (filtering policies H04L63/0227)}
- G06F 16/122: {using management policies (point-in-time backing up or restoration of persistent data G06F11/1446; file migration policies for HSM systems G06F16/185)}
- G06F 16/245: Query processing
- G06F 21/602: {Providing cryptographic facilities or services}
- G06F 21/6227: {where protection concerns the structure of data, e.g. records, types, queries}
- H04L 9/3226: {using a predetermined code, e.g. password, passphrase or PIN (network architectures or network communication protocols for supporting authentication of entities using passwords in a packet data network H04L63/083)}
- H04L 63/0428: {wherein the data content is protected, e.g. by encrypting or encapsulating the payload}
- H04L 63/105: {Multiple levels of security}
- G06F 2221/2149: Restricted operating environment
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

To verify compliance with a data access policy, a query result including data specified by a requesting entity and a representation of a data access policy is received from a database. Based on the representation of the data access policy included in the query result, it is verified whether the requesting entity is permitted to access the data included in the query result. Transmission of the data included in the query result to the requesting entity is controlled responsive to the verification. Related methods, systems, and computer program products are also discussed.

## Claims

### Claim 1

A method of verifying compliance with a data access policy, the method comprising:
receiving, from a database, a query result comprising data specified by a requesting entity and a representation of a data access policy;
verifying whether the requesting entity is permitted to access the data included in the query result in accordance with the access policy based on the representation of the data access policy included in the query result; and
controlling transmission of the data included in the query result to the requesting entity responsive to the verifying.

### Claim 2 (depends on 1)

The method of claim 1, wherein the representation identifies ones of a plurality of records stored in the database that are accessible to the requesting entity according to the data access policy, and wherein verifying comprises:
determining whether the data included in the query result corresponds to the ones of the plurality of records that are accessible to the requesting entity.

### Claim 3 (depends on 2)

The method of claim 2, wherein the representation comprises a data structure including respective values corresponding to the ones of the plurality of records that are accessible to the requesting entity, and further comprising:
receiving a cryptographic key used to generate the respective values included in the representation of the access policy,
wherein determining comprises:
generating a value corresponding to the data included in the query result using the cryptographic key; and
comparing the value corresponding to the data included in the query result with the respective values included in the representation of the access policy.

### Claim 4 (depends on 3)

The method of claim 3, wherein the representation of the data access policy comprises a Bloom filter data structure specific to the requesting entity, and wherein the respective values included in the representation comprise a record identifier and a payload generated using the key for each of the plurality of records that are accessible to the requesting entity.

### Claim 5 (depends on 2)

The method of claim 2, wherein the determining indicates that the data included in the query result does not correspond to the ones of the plurality of records, and wherein controlling transmission comprises:
preventing transmission of the data to the requesting entity responsive to the determining.

### Claim 6 (depends on 5)

The method of claim 5, wherein the query result includes additional data, wherein the determining indicates that the additional data corresponds to the ones of the plurality of records, and wherein controlling transmission further comprises:
allowing transmission of the additional data to the requesting entity responsive to the determining.

### Claim 7 (depends on 5)

The method of claim 5, wherein the query includes a code injection command requesting the data that does not correspond to the ones of the plurality of records.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
receiving a query from the requesting entity requesting the data; and
generating a modified query requesting the representation of the data access policy in addition to the data responsive to receiving the query,
wherein the query result is received from the database responsive to evaluation of the modified query.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
generating respective representations of data access policies for respective ones of a plurality of requesting entities, a respective representation identifying ones of the plurality of records stored in the database that are accessible to a respective one of the plurality of requesting entities,
wherein the database comprises a secured database including the plurality of records and the respective representations of the data access policies for the respective ones of the plurality of requesting entities.

### Claim 10

A system for verifying compliance with a data access policy, comprising:
a processor; and
a memory that is coupled to the processor and comprises computer readable program code embodied in the memory that when executed by the processor causes the processor to perform operations comprising:
verifying whether a requesting entity is permitted to access data included in a query result received from a database based on a representation of a data access policy included in the query result; and
controlling transmission of the data included in the query result to the requesting entity responsive to the verifying.

### Claim 11 (depends on 10)

The system of claim 10, wherein the data access policy is not locally stored in the memory.

### Claim 12 (depends on 10)

The system of claim 10, wherein the representation identifies ones of a plurality of records stored in the database that are accessible to the requesting entity according to the data access policy, and wherein the operations further comprise:
determining whether the data included in the query result corresponds to the ones of the plurality of records that are accessible to the requesting entity.

### Claim 13 (depends on 12)

The system of claim 12, wherein the representation comprises a data structure including respective values corresponding to the ones of the plurality of records that are accessible to the requesting entity, and wherein the operations further comprise:
receiving a cryptographic key used to generate the respective values included in the representation of the access policy,
and wherein determining comprises:
generating a value corresponding to the data included in the query result using the cryptographic key; and
comparing the value corresponding to the data included in the query result with the respective values included in the representation of the access policy.

### Claim 14 (depends on 12)

The system of claim 12, wherein the determining indicates that the data included in the query result does not correspond to the ones of the plurality of records, and wherein controlling transmission comprises:
preventing transmission of the data to the requesting entity responsive to the determining.

### Claim 15 (depends on 10)

The system of claim 10, wherein the operations further comprise:
receiving a query from the requesting entity requesting the data; and
generating a modified query requesting the representation of the data access policy in addition to the data responsive to receiving the query,
wherein the query result is received from the database responsive to evaluation of the modified query.

### Claim 16

A computer program product for verifying compliance with a data access policy, comprising:
a tangible computer readable medium comprising computer readable program code embodied in the medium that when executed by a processor causes the processor to perform operations comprising:
verifying whether a requesting entity is permitted to access data included in a query result received from a database based on a representation of a data access policy included in the query result; and
controlling transmission of the data included in the query result to the requesting entity responsive to the verifying.

### Claim 17 (depends on 16)

The computer program product of claim 16, wherein the representation identifies ones of a plurality of records stored in the database that are accessible to the requesting entity according to the data access policy, and wherein the operations further comprise:
determining whether the data included in the query result corresponds to the ones of the plurality of records that are accessible to the requesting entity.

### Claim 18 (depends on 17)

The computer program product of claim 17, wherein the representation comprises a data structure including respective values corresponding to the ones of the plurality of records that are accessible to the requesting entity, and wherein the operations further comprise:
receiving a cryptographic key used to generate the respective values included in the representation of the access policy,
and wherein determining comprises:
generating a value corresponding to the data included in the query result using the cryptographic key; and
comparing the value corresponding to the data included in the query result with the respective values included in the representation of the access policy.

### Claim 19 (depends on 17)

The computer program product of claim 17, wherein the determining indicates that the data included in the query result does not correspond to the ones of the plurality of records, and wherein controlling transmission comprises:
preventing transmission of the data to the requesting entity responsive to the determining.

### Claim 20 (depends on 16)

The computer program product of claim 16, wherein the operations further comprise:
receiving a query from the requesting entity requesting the data; and
generating a modified query requesting the representation of the data access policy in addition to the data responsive to receiving the query,
wherein the query result is received from the database responsive to evaluation of the modified query.
