# US 10,958,653 B1 · Dynamically adaptive computer security permissions

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

- Number: US 10,958,653 B1
- Document ID: US10958653B1
- Status: Granted
- Kind: B1
- Application number: 15/634,163
- Filed: 2017-06-27
- Granted: 2021-03-23
- Earliest claimed: 2017-06-27
- Assignees: Amazon Technologies, Inc.
- Applicants: Amazon Technologies, Inc.
- Inventors: Kevin Christopher Miller; Rebecca Claire Weiss
- Web page: https://patentgrep.com/patent/US10958653B1

## CPC

- H04L 63/10: {for controlling access to devices or network resources}
- H04L 63/105: {Multiple levels of security}
- H04L 63/08: {for authentication of entities (cryptographic mechanisms or cryptographic arrangements for entity authentication H04L9/32)}
- H04L 63/20: {for managing network security; network security policies in general (filtering policies H04L63/0227)}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A computing resource service provider grants a first set of security permissions to a principal (e.g., a user) which may be used to access a plurality of computing resources. The permissions may be associated with a first security token. The principal may access resources using the first set of security permissions, and a system (e.g., a service provider) may identify a subset of security permissions that are sufficient to provide access to the computing resources accessed by the principal using the first set of permissions. The subset may be associated with the principal. In some cases, the principal operating under the subset of permissions may be denied access to a computing resource and may be granted access to the computing resource by operating under the first set of permissions.

## Claims

### Claim 1

A computer-implemented method, comprising:
providing a principal with a first token comprising a set of security permissions operable to grant access to a plurality of computing resources, wherein the first token includes an expiration and encodes a first mode of operation;
obtaining, from the principal, a plurality of requests to use the first token to access one or more computing resources of the plurality of computing resources and providing access to the one or more computing resources of the plurality of computing resources in connection with the plurality of requests, access being granted based at least in part on the set of security permissions;
determining, based at least in part on expiration of the first token, a proper subset of the set of security permissions by at least:
identifying the one or more computing resources of the plurality of computing resources accessed as a result of fulfillment of the requests; and
selecting the proper subset of the set of security permissions based at least in part on the one or more computing resources identified, wherein the proper subset is sufficient to grant access to the one or more computing resources accessed as a result of fulfillment of the requests;
providing the principal with a second token comprising the proper subset of the set of security permissions, wherein the second token encodes a second mode of operation, further wherein the second mode of operation indicates that the proper subset of the subset of the set of security permissions of the second token is derived from security permissions of an expired token that encodes the first mode of operation;
obtaining, from the principal, a request to use the second token to access a computing resource of the plurality of computing resources; and
granting, in response to the request, access to the computing resource of the plurality of computing resources according to the proper subset, access being granted based at least in part on the proper subset.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising:
denying access to a second computing resource of the plurality of computing resources in connection with a second request using the second token;
providing an indication that access to the second computing resource was denied and that access may be obtained in connection with the set of security permissions;
obtaining a third request from the principal for a third token, wherein the third token comprises the set of security permissions;
fulfilling the third request by providing the third token to the principal; and
granting access to the second computing resource in connection with a fourth request using the third token.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein determining the proper subset comprises mapping access to computing resources of the one or more computing resources of the plurality of computing resources to security permissions.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the expiration included in the first token indicates a baselining period during which the first token is valid.

### Claim 5

A non-transitory computer-readable storage medium comprising executable instructions that, as a result of being executed by one or more processors of a computer system, cause the computer system to at least:
provide a principal with a first token comprising a set of security permissions operable to grant access to a plurality of computing resources, wherein the first token includes an expiration and encodes a first mode of operation;
obtain, from the principal, a plurality of requests to use the first token to access one or more computing resources of the plurality of computing resources and providing access to the one or more computing resources of the plurality of computing resources in connection with the plurality of requests, access being granted based at least in part on the set of security permissions;
determine, based at least in part on expiration of the first token, a proper subset of the set of security permissions by at least:
identifying the one or more computing resources of the plurality of computing resources accessed as a result of fulfillment of the requests; and
selecting the proper subset of the set of security permissions based at least in part on the one or more computing resources identified, wherein the proper subset is sufficient to grant access to the one or more computing resources accessed as a result of fulfillment of the requests;
provide the principal with a second token comprising the proper subset of the set of security permissions, wherein the second token encodes a second mode of operation, further wherein the second mode of operation indicates that the proper subset of the subset of the set of security permissions of the second token is derived from security permissions of an expired token that encodes the first mode of operation;
obtain, from the principal, a request to use the second token to access a computing resource of the plurality of computing resources; and
grant, in response to the request, access to the computing resource of the plurality of computing resources according to the proper subset, access being granted based at least in part on the proper subset.

### Claim 6 (depends on 5)

The non-transitory computer-readable storage medium of claim 5, wherein the instructions further comprise instructions that, as a result of being executed by the one or more processors, cause the computer system to:
while the proper subset of the set of security permissions are in effect, deny the principal access to a second computing resource of the plurality of computing resources, wherein:
the plurality of computing resources comprises the second computing resource; and
the proper subset of the set of security permissions is insufficient to grant access to the second computing resource.

### Claim 7 (depends on 6)

The non-transitory computer-readable storage medium of claim 6, wherein the instructions further comprise instructions that, as a result of being executed by the one or more processors, cause the computer system to:
in connection with denying the principal access to the second computing resource, provide an indication that the set of security permissions is sufficient to grant access to the second computing resource; and
while the set of security permissions are in effect, grant the principal access to the second computing resource.

### Claim 8 (depends on 5)

The non-transitory computer-readable storage medium of claim 5, wherein the instructions to provide the second token to the principal include instruction that, as a result of being executed by the one or more processors, cause the computer system to provide the second token to the principal as a result of the expiration of the first token.

### Claim 9 (depends on 5)

The non-transitory computer-readable storage medium of claim 5, wherein at least one computing resource that was not accessed using the first token is included in the set of security permissions and excluded from the proper subset of the set of security permissions.

### Claim 10 (depends on 5)

The non-transitory computer-readable storage medium of claim 5, wherein the instructions comprise further instructions that, as a result of being executed by the one or more processors, further cause the computer system to:
store metadata associated with the one or more computing resources of the plurality of computing resources accessed by the principal; and
identify the proper subset of the set of security permissions by at least:
obtaining at least part of the stored metadata; and
mapping the obtained metadata to one or more security permissions, wherein the proper subset of the set of security permissions comprises the one or more security permissions.

### Claim 11 (depends on 10)

The non-transitory computer-readable storage medium of claim 10, wherein the metadata associated with the one or more computing resources of the plurality of computing resources accessed by the principal comprises:
a first identifier associated with the principal;
a second identifier associated with a second computing resource of the one or more computing resources of the plurality of computing resources; and
an indication of security permissions exercised in connection with the access of the plurality of computing resources.

### Claim 12 (depends on 5)

The non-transitory computer-readable storage medium of claim 5, wherein the expiration is based at least in part on a count limiting how many requests the principal may make to access the plurality of computing resources using the first token.

### Claim 13

A system, comprising:
one or more processors; and
memory that stores computer-executable instructions that, as a result of execution, cause the one or more processors to:
provide a principal with a first token comprising a set of security permissions operable to grant access to a plurality of computing resources, wherein the first token includes an expiration and encodes a first mode of operation;
obtain, from the principal, a plurality of requests to use the first token to access one or more computing resources of the plurality of computing resources and providing access to the one or more computing resources of the plurality of computing resources in connection with the plurality of requests, access being granted based at least in part on the set of security permissions;
determine, based at least in part on expiration of the first token, a proper subset of the set of security permissions by at least:
identifying the one or more computing resources of the plurality of computing resources accessed as a result of fulfillment of the requests; and
selecting the proper subset of the set of security permissions based at least in part on the one or more computing resources identified, wherein the proper subset is sufficient to grant access to the one or more computing resources accessed as a result of fulfillment of the requests;
provide the principal with a second token comprising the proper subset of the set of security permissions, wherein the second token encodes a second mode of operation, further wherein the second mode of operation indicates that the proper subset of the subset of the set of security permissions of the second token is derived from security permissions of an expired token that encodes the first mode of operation;
obtain, from the principal, a request to use the second token to access a computing resource of the plurality of computing resources; and
grant, in response to the request, access to the computing resource of the plurality of computing resources according to the proper subset, access being granted based at least in part on the proper subset.

### Claim 14 (depends on 13)

The system of claim 13, wherein the memory that stores the computer-executable instructions that, as a result of execution, further cause the one or more processors to:
while the proper subset of the set of security permissions are in effect, deny the principal access to a second computing resource of the plurality of computing resources, wherein:
the plurality of computing resources comprises the second computing resource; and
the proper subset of the set of security permissions is insufficient to grant access to the second computing resource.

### Claim 15 (depends on 14)

The system of claim 14, wherein the memory that stores the computer-executable instructions that, as a result of execution, further cause the one or more processors to:
in connection with denying the principal access to the second computing resource, provide an indication that the set of security permissions is sufficient to grant access to the second computing resource; and
while the set of security permissions are in effect, grant the principal access to the second computing resource.

### Claim 16 (depends on 15)

The system of claim 15, wherein the indication indicates that the second token is sufficient to grant access to the second computing resource.

### Claim 17 (depends on 13)

The system of claim 13, wherein after the proper subset of the set of security permissions is in effect for a predetermined period of time, the memory that stores the computer-executable instructions that, as a result of execution, further causes the one or more processors to:
identify a second proper subset of the set of security permissions; and
grant the principal the second proper subset of the second set of security permissions.

### Claim 18 (depends on 13)

The system of claim 13, wherein the memory that stores the computer-executable instructions that, as a result of execution, further cause the one or more processors to;
store metadata associated with the one or more computing resources of the plurality of computing resources accessed by the principal; and
identify the proper subset of the set of security permissions by at least:
obtaining at least part of the stored metadata; and
mapping the obtained metadata to one or more security permissions, wherein the proper subset of the set of security permissions comprises the one or more security permissions.

### Claim 19 (depends on 18)

The system of claim 18, wherein the metadata associated with the one or more computing resources of the plurality of computing resources accessed by the principal comprises:
a first identifier associated with the principal;
a second identifier associated with a second computing resource of the one or more computing resources of the plurality of computing resources; and
an indication of security permissions exercised in connection with the access of the plurality of computing resources.

### Claim 20 (depends on 13)

The system of claim 13, wherein the expiration is based at least in part on a count limiting how many requests the principal may make to access the plurality of computing resources using the first token.
