# US 2017/0286664 A1 · Dynamic updating of process policies

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

- Number: US 2017/0286664 A1
- Document ID: US20170286664A1
- Status: Published application
- Kind: A1
- Application number: 15/088,015
- Filed: 2016-03-31
- Published: 2017-10-05
- Earliest claimed: 2016-03-31
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Nazmus Sakib; Yogesh Mehta; Kinshumann Kinshumann; Vishal Agarwal; Giridharan Sridharan; Arnold Paul Pereira; Deskin Miller; Narendra Acharya
- Web page: https://patentgrep.com/patent/US20170286664A1

## CPC

- G06F 21/44: Program or device authentication
- G06F 21/45: Structures or tools for the administration of authentication
- G06F 21/629: {to features or functions of an application}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system for changing policy information of a process is provided. When a process is to execute, the system stores policy information for the process in association with the process code. The system also creates a token for the process. The token provides evidence of the policy for the process and includes at least a reference to the stored policy information. The system provides the token to the process for use by the process as evidence of the policy for the process. When the process provides the token to a service provider, the service provider uses the reference to access the policy information for the process. While the process is executing, the system modifies the stored policy information. When the process subsequently provides the token to a service provider, the service provider uses the reference to access the modified policy information for the process.

## Claims

### Claim 1

A method performed by a computing device for changing policy information of a process, the method comprising:
prior to execution of the process,
storing policy information for the process;
creating a token for the process, the token providing evidence of the policy information for the process and including at least one reference to the stored policy information; and
providing the token to the process for use by the process as evidence of the policy information for the process; and
while the process is executing, modifying the stored policy information so that when the process provides the token to a service provider after the stored policy information has been modified, the reference included in the token is usable by the service provider to access the modified policy information for the process.

### Claim 2 (depends on 1)

The method of claim 1 wherein the policy information is stored in a data structure that includes policy information for multiple processes.

### Claim 3 (depends on 2)

The method of claim 2 wherein the reference is a unique identifier of a portion of the data structure that stores the policy information for the process.

### Claim 4 (depends on 3)

The method of claim 3 wherein the unique identifier is an identifier of the token.

### Claim 5 (depends on 1)

The method of claim 1 wherein the policy information is located in non-paged memory.

### Claim 6 (depends on 1)

The method of claim 1 further comprising locating the policy information in paged memory when policy protection is disabled and relocating the policy information to non-paged memory when policy protection is subsequently enabled.

### Claim 7 (depends on 1)

The method of claim 1 further comprising notifying the process when the policy information has been modified.

### Claim 8 (depends on 1)

The method of claim 1 wherein the policy information indicates access rights of a user.

### Claim 9 (depends on 1)

The method of claim 1 wherein the policy information indicates a capability of code executed by the process.

### Claim 10 (depends on 1)

The method of claim 1 wherein the policy information indicates security context for the process.

### Claim 11

A computing device for dynamically changing policies during execution of applications, the device comprising:
at least one processor; and
a computer-readable storage medium storing:
for each of the applications, policy information for a process that executes the application in association with the process, the policy information for the process derived from policy information for the application; and
computer-executable instructions that, based on execution by the at least one processor, configure the processor to, for each process that executes one of the applications:
create a token for the process that is to execute the application, the token including a reference to the stored policy information for the process;
provide the token to the process, the process configured to provide the token to a service provider; and
while the process is executing the application, modify the stored policy information so that when the process provides the token to the service provider after the policy information has been modified, the reference included in the token is usable by the service provider to access the modified policy information for the process.

### Claim 12 (depends on 11)

The computing device of claim 11 wherein a reference is a unique identifier of a portion of a data structure that stores the policy information for a process.

### Claim 13 (depends on 12)

The computing device of claim 12 wherein the unique identifier is an identifier of the token.

### Claim 14 (depends on 11)

The computing device of claim 11 wherein a process makes multiple copies of the token and each copy of the token includes the reference to the policy information for the process.

### Claim 15 (depends on 11)

The computing device of claim 11 wherein the computer-executable instructions further include instructions that, prior to modifying the stored policy information, request a copy of the token and retrieve the reference from the copy of the token.

### Claim 16 (depends on 11)

The computing device of claim 11 wherein the policy information is located in non-paged memory of the computer-readable storage medium.

### Claim 17 (depends on 11)

The computing device of claim 11 wherein the computer-executable instructions further include instructions that notify the process when the policy information has been modified.

### Claim 18

One or more computer-readable storage media storing computer-executable instructions that based on execution by a computing device cause the computing device to dynamically modify a security policy during execution of an application by causing the computing device to:
store security policy information for a process that executes the application, the security policy information derived from the security policy for the application;
provide a security token to the process, the security token associated with reference information for the security policy information; and
while the process is executing, modify the stored security policy information so that when the process subsequently provides the security token to a service provider, the reference information that the security token is associated with is usable by the service provider to access the modified security policy information for the application.

### Claim 19 (depends on 18)

The one or more computer-readable storage media of claim 18 wherein the reference information uniquely identifies a portion of a data structure that stores the security policy information for the process, and wherein the data structure stores security policy information for multiple processes.

### Claim 20 (depends on 19)

The one or more computer-readable storage media of claim 19 wherein the data structure is located in non-paged memory.
