# US 2015/0178495 A1 · Pervasive Package Identifiers

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

- Number: US 2015/0178495 A1
- Document ID: US20150178495A1
- Status: Published application
- Kind: A1
- Application number: 14/639,615
- Filed: 2015-03-05
- Published: 2015-06-25
- Earliest claimed: 2011-09-09
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: John M. Sheehan; Howard S. Kapustein; Jerome Thomas Holman; Scott B. Graham; Sermet Iskin
- Web page: https://patentgrep.com/patent/US20150178495A1

## CPC

- G06F 21/52: during program execution, e.g. stack integrity {; Preventing unwanted data erasure; Buffer overflow}
- G06F 9/468: {Specific access rights for resources, e.g. using capability register}
- G06F 17/00: Digital computing or data processing equipment or methods, specially adapted for specific functions (information retrieval, database structures or file system structures therefor G06F16/00)
- G06F 21/121: {Restricting unauthorised execution of programs}
- G06F 21/44: Program or device authentication
- G06F 21/6281: {at program execution time, where the protection is within the operating system}
- G06F 2221/033: Test or assess software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A package identifier for a package from which an application is installed on a computing device is obtained. The package identifier is assigned to each of one or more processes created for running the application and, for each of the one or more processes, whether the process is permitted to access a resource of the computing device is determined based at least in part on the package identifier.

## Claims

### Claim 1

A system comprising:
one or more processors; and
one or more computer-readable media having stored thereon computer-executable instructions that are executable by the one or more processors to perform operations including:
obtaining, at a computing device for an application installed on the computing device from a package, a package identifier for the package, the package identifier including an identifier of an architecture of computing devices on which the application is designed to operate, the application having been installed only if a publisher of the package included in the package identifier was verified as being the same as the publisher included in a digital certificate associated with the package;
maintaining the package identifier in a protected manner such that the package identifier is accessible to an operating system of the device but not accessible to other applications of the device;
assigning the package identifier to each of one or more processes created for the application, wherein each process created for the application includes a process token generated by the operating system of the computing device, the process incapable of modifying the process token; and
determining, based at least in part on the package identifier, for each of the one or more processes whether the process is permitted to access a resource of the computing device.

### Claim 2 (depends on 1)

The system of claim 1, the package identifier further including a name of the package and a name of the publisher of the package.

### Claim 3 (depends on 2)

The system of claim 2, the package identifier further including an indication of a version of the package and a value identifying a resource type of the package.

### Claim 4 (depends on 1)

The system of claim 1, the maintaining further comprising maintaining the package identifiers in a data structure that is encrypted using a key known only to the operating system.

### Claim 5 (depends on 1)

The system of claim 1, the package including one or more components or modules of one or more applications.

### Claim 6 (depends on 1)

The system of claim 1, the assigning comprising generating a security identifier based on the package identifier or family identifier of the package, and adding the security identifier to the process token of each of the one or more processes.

### Claim 7 (depends on 6)

The system of claim 6, the determining comprising allowing, for each of the one or more processes, the process to access a folder of a storage device of the computing device only if an access control list associated with the folder indicates the security identifier of the process is permitted to access the folder.

### Claim 8 (depends on 6)

The system of claim 6, the determining further comprising allowing, for each of the one or more processes, the process to access an additional process in the computing device only if the security identifier of the process and the security identifier of the additional process are the same.

### Claim 9 (depends on 6)

The system of claim 6, the determining further comprising preventing the process to access other processes if the security identifier of the process and the security identifier of the additional process are not the same, the preventing comprising refusing to pass a call to the additional process or notifying another module that the process is not permitted to access the additional process.

### Claim 10 (depends on 6)

The system of claim 6, the generating the security identifier comprising inputting one or more elements of the package identifier to a hash function to generate a hash value, and using the hash value as the security identifier.

### Claim 11 (depends on 1)

The system of claim 1, the obtaining a package identifier for the package comprising obtaining the package identifier for the package from a manifest associated with the package.

### Claim 12 (depends on 1)

The system of claim 1, further comprising, in response to loading of a library being requested:
loading the library if the library is identified in a manifest of the package or in a manifest of a dependency package of the package; and
otherwise not loading the library.

### Claim 13

A system comprising:
one or more processors; and
one or more computer-readable media having stored thereon computer-executable instructions that are executable by the one or more processors to perform operations including:
obtaining, at a computing device as part of installing one or more applications from a package on the computing device, a package identifier from the package;
maintaining the package identifier in a protected manner such that the package identifier is accessible to an operating system of the device but not to other applications of the device;
adding capabilities of one or more components included in the package to an access control list of a resource to create a capability security identifier;
adding a package identifier security identifier to the access control list associated with the stored capabilities for the package;
using the package identifier security identifier to gain access to the capability security identifier; and
using the capability security identifier to access the resource.

### Claim 14 (depends on 13)

The system of claim 13, the package identifier being obtained from a manifest associated with the package.

### Claim 15 (depends on 13)

The system of claim 13, further comprising using a subset of elements of the package identifier to be a family identifier of the package, the subset of elements including a name of the package and a name of the publisher of the package.

### Claim 16 (depends on 13)

The system of claim 13, the package including one or more components or modules of one or more applications.

### Claim 17 (depends on 13)

The system of claim 13, the instructions causing the one or more processors to add the capability security identifier to the access control list prior to the package identifier for the package being obtained.

### Claim 18 (depends on 13)

The system of claim 13, the instructions further causing the one or more processors to allow, for each of the one or more processes, the process to access a folder of a storage device of the computing device only if an access control list associated with the folder indicates the security identifier of the process is permitted to access the folder.

### Claim 19 (depends on 13)

The system of claim 13, the instructions further causing the one or more processors to allow, for each of the one or more processes, the process to access an additional process in the computing device only if the security identifier of the process and the security identifier of the additional process are the same.

### Claim 20

A computing device comprising:
one or more processors; and
one or more computer-readable storage media comprising computer-readable instructions which, when executed, cause the computing device to implement a method comprising:
obtaining, at a computing device as part of installing one or more applications from a package on the computing device, a package identifier from the package, the package identifier including a name of the package, a name of a publisher of the package, an identifier of an architecture of computing devices on which the application is designed to operate, an indication of a version of the package, and a value identifying a resource type of the package, the one or more applications being installed only if the publisher of the package included in the package identifier is verified to be the same as the publisher included in a digital certificate associated with the package;
maintaining the package identifier in a protected manner such that the package identifier is accessible to an operating system of the device but not to other applications of the device;
using a subset of elements of the package identifier to be a family identifier of the package, the subset of elements including the name of the package and the name of the publisher of the package;
assigning the family identifier to each of one or more processes created for running the one or more applications by generating a security identifier based on the family identifier and adding the security identifier to a process token of each of the one or more processes; and
responsive to the one or more processes spawning one or more other processes, causing the one or more other processes to inherit the same process token.
