# US 2009/0276834 A1 · Securing resource stores with claims-based security

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

- Number: US 2009/0276834 A1
- Document ID: US20090276834A1
- Status: Published application
- Kind: A1
- Application number: 12/112,773
- Filed: 2008-04-30
- Published: 2009-11-05
- Earliest claimed: 2008-04-30
- Assignees: Microsoft Corporation
- Inventors: Anthony Christopher Bloesch
- Web page: https://patentgrep.com/patent/US20090276834A1

## CPC

- G06F 21/6218: {to a system of files or objects, e.g. local or distributed file system or database}
- G06F 2221/2141: Access rights, e.g. capability lists, access control lists, access tables, access matrices
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present invention extends to methods, systems, and computer program products for securing resource stores with claims-based security. From policy information, a resource store populates a security table of permissions. The permissions authorize resource access based on received claims. Sessions submit claims to the resource store. The resource store accumulates claims for a session into a claims list. From the claims list and the security table, the resource store filters out a subset of metadata including resource IDs for resources the session is authorized to access. Since the metadata corresponds to the session, any application using the session is given similar access to resources at the resource store.

## Claims

### Claim 1

At a computer system, a method for securing a resource store, the method comprising:
an act of receiving policy information for the resource store;
an act of deriving permissions for accessing secured resources in the resource store from the received policy information, the permissions defining secured operations that can be performed on secured resources in the resource store based on received identity information, the permissions derived from:
a secured operations table defining the secured operations that are possible for the resource store;
a secured resources table defining the secured resources within the resource store, each secured resource being of a specified resource type, from among a plurality of different resource types; and
each of the plurality of different resource types defined in a secured resource types table;
an act of receiving identity information for a session connected to the resource store, the identity information accumulated from one or more claims submitted to the resource store on behalf of the session;
an act of determining the resource types that the session can access based on the derived permissions and the received identity information;
an act of accessing a metadata table that maps secured resource identifiers to corresponding resource types; and
an act of filtering metadata table into a subset of metadata that includes resource identifiers for secured resources of the resource types the session can access.

### Claim 2 (depends on 1)

The method as recited in claim 1, wherein the act of receiving policy information comprises an act of receiving one or more of: an indication of secure resource types at the resource store, an indication of secured resources at the resource store, and secured operations at the resource store.

### Claim 3 (depends on 2)

The method as recited in claim 2, wherein the act of receiving policy information comprises an act of receiving information that defines data access to resources of the resource store for one or more principals.

### Claim 4 (depends on 1)

The method as recited in claim 1, wherein the act of receiving policy information comprises an act of receiving policy information formatted in accordance with base tables stored in the resource store.

### Claim 5 (depends on 1)

The method as recited in claim 1, wherein the act of receiving identity information for a session connected to the resource store comprises an act of receiving identity information contained in an operating system ID token.

### Claim 6 (depends on 1)

The method as recited in claim 1, wherein the act of receiving identity information for a session connected to the resource store comprises an act of receiving identity information contained in a SAML token.

### Claim 7 (depends on 1)

The method as recited in claim 1, wherein the resource store is a database.

### Claim 8 (depends on 1)

The method as recited in claim 1, wherein the act of the filtering metadata table into a subset of metadata comprises an act of filtering the metadata table into a subset of metadata identifying resources that the session is authorized to read or update.

### Claim 9 (depends on 8)

The method as recited in claim 8, wherein an act of filtering the metadata table into a subset of metadata comprises an act of filtering the metadata table into a subset of metadata identifying resources that any application utilizing the session is authorized to read or update

### Claim 10

At a computer system, a method for providing secure access to resources in a resource store, the method comprising:
an act of receiving a request over a session connected to the resource store, the request to perform an operation on secured resources of a specified resource type contained in the resource store;
an act of referring to a claims list for the session, the claims list including claims for the connection accumulated from one or more previously received security tokens, each claim asserting identify information for the session;
an act of referring to a security table at the resources store, the security table containing permissions for accessing secured resources contained in the resource store, the permissions defining secured operations that are authorized for secured resources contained in the resource store based on received identity information;
an act of determining from the permissions that the session is authorized to perform the requested operation on secured resources of the specified resource type based on the accumulated claims contained in the claims list; and
an act of performing the requested operation for any secured resources of the specified type contained in the resource store.

### Claim 11 (depends on 10)

The method as recited in claim 10, wherein the act of receiving a request over a session connected to the resource store comprises an act of receive a request form an application that is utilizing the session.

### Claim 12 (depends on 10)

The method as recited in claim 10, wherein the act of referring to a claims list for the session comprises an act of referring to a claims list that includes claims from an operating system ID token.

### Claim 13 (depends on 10)

The method as recited in claim 10, wherein the act of referring to a security table at the resources store comprises an act of referring to a security table that is formatted in accordance with a base table for storing security information, the base table being stored at the resource store.

### Claim 14 (depends on 10)

The method as recited in claim 10, wherein an act of determining from the permissions that the session is authorized to perform the requested operation comprises an act determining that an application using the session is authorized to perform the requested operation based on the application using the session to communication with the resource store.

### Claim 15 (depends on 10)

The method as recited in claim 10, wherein an act of performing the requested operation for any secured resources of the specified type contained in the resource store comprises an act of performing one or more of reading a resource and updating a resource in the resource store.

### Claim 16

At a computer system, a method for providing secure access to data in a database, the method comprising:
an act of receiving policy information for the database;
an act of deriving permissions for accessing secured data in the database from the received policy information, the permissions defining secured operations that can be performed on secured data in the database based on received identity information, the permissions derived from:
a secured operations table defining the secured operations that are possible for the database;
a secured resources table defining the secured portions of data within the database, each portion of data having a specified data type, from among a plurality of different data types; and
each of the plurality of different data types defined in a secured data types table;
an act of storing the derived permissions in a security table at the data base;
an act of receiving one or more security tokens for a session connected to the database, each token containing claims that assert identify information for the session;
an act of accumulating the claims for the session into a claims list;
an act of receiving a data request over the session, the data request to perform an operation on secured data of a specified data type contained in the database;
an act of referring to the security table to determine that the session is authorized to perform the requested operation on secure data of the specified data type based on the claims contained the claims list;
an act of accessing a metadata table at the database that maps identifiers for secured data to corresponding data types;
an act of filtering the metadata table into a subset of metadata that includes identifiers for secured data of the specified data type;
an act of using the identifiers to access secured data of the specified data type from the database; and
an act of performing the requested operation on the accessed secure data.

### Claim 17 (depends on 16)

The method as recited in claim 16, wherein the act of receiving one or more security tokens for a session connected to the database comprises an act of receiving at least one operating system token indicating an operating system ID and group memberships and at least one SAML token with additional claims related to the sessions identity.

### Claim 18 (depends on 16)

The method as recited in claim 16, wherein the act of receiving one or more security tokens for a session connected to the database comprises an act of receiving one or more security tokens that correspond to a database role.

### Claim 19 (depends on 16)

The method as recited in claim 16, wherein the database is a SQL database.

### Claim 20 (depends on 16)

The method as recited in claim 16, wherein an act of using the identifiers to access secured data of the specified data type from the database comprises an act of accessing one or more assemblies form the database.
