# US 2013/0298259 A1 · Database and Method for Controlling Access to a Database

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

- Number: US 2013/0298259 A1
- Document ID: US20130298259A1
- Status: Published application
- Kind: A1
- Application number: 13/935,458
- Filed: 2013-07-03
- Published: 2013-11-07
- Earliest claimed: 2011-02-14
- Assignees: Protegrity Corporation
- Applicants: Protegrity Corporation
- Inventors: Ulf Mattsson; Hans Meijer
- Web page: https://patentgrep.com/patent/US20130298259A1

## CPC

- G06F 21/6209: {to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself}
- G06F 21/6227: {where protection concerns the structure of data, e.g. records, types, queries}
- G06F 2221/2113: Multi-level security, e.g. mandatory access control
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for controlling access to a database is disclosed, as well as a corresponding database system. The method comprises: receiving, from a user, a request for a data post in said database; determining that said user should be allowed access to said requested data post based on a security context associated with said data post and said user; providing said user with access to said data post; and validating, by an external security system, at least one of the user and the data post, said validation being based on a validation field, controlled by the external security system and being associated with said user and/or data post. Hereby, the database can be operated with its native operational procedures, thereby enabling a very fast and efficient performance. At the same time, the validation by the external security system provides a high degree of security.

## Claims

### Claim 1

A method for controlling access to a database, said method comprising:
receiving, from a user, a request for a data post in the database, the requested data post comprising data post content, a security field identifying a security level of the data post, and a validation field comprising a data post validation value representative of the data post content and the security level, the request comprising a user validation value representative of an identity of the user and a clearance level of the user;
validating the requested data post using the data post validation value by determining whether the data post validation value is representative of the data post content and the security level;
validating the user using the user validation value by determining whether the user validation value is representative of the user identity and clearance level; and
responsive to the validation of the requested data post and the user, providing the user with access to the data post.

### Claim 2 (depends on 1)

The method of claim 1, wherein the data post validation value comprises an encrypted representation of the data post content and the security level.

### Claim 3 (depends on 2)

The method of claim 2, wherein determining whether the data post validation value is representative of the data post content and the security level comprises decrypting the data post validation value and determining if the decrypted data post validation value matches the data post content and the security level.

### Claim 4 (depends on 1)

The method of claim 1, wherein the user validation value comprises an encrypted representation of the user identity and the clearance level.

### Claim 5 (depends on 4)

The method of claim 4, wherein determining whether the user validation value is representative of the user identity and clearance level comprises decrypting the user validation value and determining if the decrypted user validation value matches the user identity and clearance level.

### Claim 6 (depends on 1)

The method of claim 1, wherein the request for a data post in the database is received by an external security system, the external security system further configured to validate the requested data post and the user.

### Claim 7 (depends on 1)

The method of claim 1, wherein the data post content and security level are stored in the database in clear text.

### Claim 8 (depends on 1)

The method of claim 1, wherein the user identity comprises an identity of one of a plurality of user groups, and wherein the clearance level comprises a clearance level associated with the identified user group.

### Claim 9

A database system comprises:
a database comprising a non-transitory computer-readable storage medium storing a plurality of data posts, each data post comprising data post content, a security field identifying a security level of the data post, and a validation field comprising a data post validation value representative of the data post content and the security level; and
a security system configured to:
receive, from a user, a request for a data post in the database, the request comprising a user validation value representative of an identity of the user and a clearance level of the user;
validate the requested data post using the data post validation value by determining whether the data post validation value of the requested data post is representative of the data post content and the security level of the requested data post;
validate the user using the user validation value by determining whether the user validation value is representative of the user identity and clearance level; and
responsive to the validation of the requested data post and the user, provide the user with access to the data post.

### Claim 10 (depends on 9)

The database system of claim 9, wherein each data post validation value comprises an encrypted representation of associated data post content and an associated data post security level.

### Claim 11 (depends on 10)

The database system of claim 10, wherein determining whether the data post validation value is representative of the data post content and the security level comprises decrypting the data post validation value and determining if the decrypted data post validation value matches the associated data post content and the associated security level.

### Claim 12 (depends on 9)

The database system of claim 9, wherein the user validation value comprises an encrypted representation of the user identity and the clearance level.

### Claim 13 (depends on 12)

The database system of claim 12, wherein determining whether the user validation value is representative of the user identity and clearance level comprises decrypting the user validation value and determining if the decrypted user validation value matches the user identity and clearance level.

### Claim 14 (depends on 9)

The database system of claim 9, wherein the security system is external to the database.

### Claim 15 (depends on 9)

The database system of claim 9, wherein data post content and security levels are stored in the database in clear text.

### Claim 16 (depends on 9)

The database system of claim 9, wherein the user identity comprises an identity of one of a plurality of user groups, and wherein the clearance level comprises a clearance level associated with the identified user group.

### Claim 17

A method for controlling access to a database, said method comprising:
receiving, from a user, a request for a data post in the database, the requested data post comprising data post content, a security field identifying a security level of the data post, and a validation field comprising a reference to a location within an external validation database, the location within the validation database comprising a validation value representative of the data post content and the security level;
accessing a user role validation value representative of a user role of the user and a clearance level associated with the user role;
accessing the validation value from the external validation database;
validating the requested data post using the data post validation value by determining whether the data post validation value is representative of the data post content and the security level;
validating the user role using the user role validation value by determining whether the user role validation value is representative of the user role and the clearance level associated with the user role; and
responsive to the validation of the requested data post and the user role, providing the user with access to the data post.

### Claim 18 (depends on 17)

The method of claim 17, wherein the data post validation value comprises an encrypted representation of the data post content and the security level.

### Claim 19 (depends on 18)

The method of claim 18, wherein determining whether the data post validation value is representative of the data post content and the security level comprises decrypting the data post validation value and determining if the decrypted data post validation value matches the data post content and the security level.

### Claim 20 (depends on 17)

The method of claim 17, wherein the user role validation value comprises an encrypted representation of the user role and the clearance level associated with the user role.
