# US 2008/0173709 A1 · System and method for secure and distributed physical access control using smart cards

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

- Number: US 2008/0173709 A1
- Document ID: US20080173709A1
- Status: Published application
- Kind: A1
- Application number: 11/624,471
- Filed: 2007-01-18
- Published: 2008-07-24
- Earliest claimed: 2007-01-18
- Assignees: Honeywell International Inc.
- Inventors: SUBHAS KUMAR GHOSH
- Web page: https://patentgrep.com/patent/US20080173709A1

## CPC

- G06F 21/62: Protecting access to data via a platform, e.g. using keys or access control rules
- G06F 21/34: involving the use of external additional devices, e.g. dongles or smart cards
- G07C 9/21: having a variable access code
- G07C 9/27: with central registration
- G07C 2009/0042: {the transmitted data signal containing a code which is changed}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G07C: TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE

## Abstract

A first code is read from a user carried device useable in an access control system. The first code is an encoded form of at least an ID of a user carrying the device and at least one privilege. The privilege defines the user's access to a resource. The first code is compared to a second code, and access is permitted only if the first code compares favorably to the second code. A reader of the access control system computes the second code based on the user ID and the privilege. The first and second codes may be also based on a secret key applicable only to the user.

## Claims

### Claim 1

A method of controlling access to a resource comprising:
reading a first code from a user carried device, wherein the first code comprises an encoded form of at least an ID of a user and at least one privilege, and wherein the privilege embodies a policy defining the user's access to the resource;
comparing the first code to a second code; and,
permitting access only if the first code compares favorably to the second code.

### Claim 2 (depends on 1)

The method of claim 1 wherein the comparing of the first code to a second code comprises:
computing the second code based on the user ID, the privilege, and a secret key; and,
comparing the first code to the computed second code.

### Claim 3 (depends on 2)

The method of claim 2 wherein the first code is also based on the secret key.

### Claim 4 (depends on 2)

The method of claim 2 further comprising periodically changing the first code and the secret key synchronously.

### Claim 5 (depends on 2)

The method of claim 2 wherein the computing of the second code comprises:
generating an intermediate code based at least on the user ID and the secret key;
concatenating the intermediate code and the privilege; and,
applying an encoding function to the concatenation of the intermediate code and the privilege so as to produce the second code.

### Claim 6 (depends on 5)

The method of claim 5 wherein the encoding function comprises a hash function.

### Claim 7 (depends on 5)

The method of claim 5 wherein the generating of an intermediate code comprises:
generating a first intermediate code by applying the secret key to an initial value;
generating a second intermediate code by applying the secret key to the first intermediate code to produce a first result and by adding the user ID to the result; and,
generating a third intermediate code by applying the secret key to the second intermediate code to produce a second result and by adding a final value to the second result;
and wherein the concatenating of the intermediate code and the privilege comprises concatenating the first, second, and third intermediate codes and the privilege.

### Claim 8 (depends on 1)

The method of claim 1 wherein the comparing of the first code to a second code comprises:
computing the second code based on the user ID, the privilege, a secret key, and a common key, wherein the secret key applies only to the user, and wherein the common key applies to a plurality of users; and,
comparing the first code to the computed second code.

### Claim 9 (depends on 8)

The method of claim 8 wherein the first code is also based on the secret key.

### Claim 10 (depends on 8)

The method of claim 8 further comprising periodically changing the first code and the secret key synchronously.

### Claim 11 (depends on 8)

The method of claim 8 wherein the computing of the second code comprises:
generating an intermediate code based at least on the user ID and the secret key;
concatenating the intermediate coder the privilege, and the common key; and,
applying an encoding function to the concatenation of the intermediate code, the privilege, and the common key so as to produce the second code.

### Claim 12 (depends on 11)

The method of claim 11 wherein the encoding function comprises a hash function.

### Claim 13 (depends on 11)

The method of claim 11 wherein the generating of an intermediate code comprises:
generating a first intermediate code by applying the secret key to an initial value;
generating a second intermediate code by applying the secret key to the first intermediate code to produce a result and by adding the user ID to the result; and,
generating a third intermediate code by applying the secret key to the second intermediate code to produce a second result and by adding a final value to the second result;
and wherein the concatenating of the intermediate code, the privilege, and the common key comprises concatenating the first, second, and third intermediate codes, the privilege, and the common key.

### Claim 14 (depends on 1)

The method of claim 1 further comprising periodically changing the first and second codes synchronously.

### Claim 15 (depends on 1)

The method of claim 1 wherein the first code is self-expiring.

### Claim 16

A method of controlling access to a resource comprising:
storing a first code on a user carried device, wherein the first code is based on at least an ID of a user, at least one privilege, a first secret key, and an encoding function, and wherein the privilege defines the user's access to the resource;
computing a second code from the user ID, the privilege, a second secret key, and the encoding function, wherein the first and second secret keys are symmetrical, and wherein the second secret key is stored in a user carried device reader;
comparing the first code to a second code; and,
permitting access only if the first code compares favorably to the second code.

### Claim 17 (depends on 16)

The method of claim 16 wherein the encoding function comprises a hash function.

### Claim 18 (depends on 16)

The method of claim 16 further comprising periodically and synchronously changing the first code and the second secret key.

### Claim 19 (depends on 16)

The method of claim 16 wherein the computing of the second code comprises:
generating an intermediate code based at least on the user ID and the second secret key;
concatenating the intermediate code and the privilege; and,
applying the encoding function to the concatenation of the intermediate code and the privilege so as to produce the second code.

### Claim 20 (depends on 19)

The method of claim 19 wherein the generating of an intermediate code comprises:
generating a first intermediate code by applying the second secret key to an initial value;
generating a second intermediate code by applying the second secret key to the first intermediate code to produce a result and by adding the user ID to the result; and,
generating a third intermediate code by applying the second secret key to the second intermediate code to produce a second result and by adding a final value to the second result;
and wherein the concatenating of the intermediate code and the privilege comprises concatenating the first, second, and third intermediate codes and the privilege.

### Claim 21 (depends on 16)

The method of claim 16 wherein the computing of the second code comprises:
generating an intermediate code based at least on the user ID and the second secret key;
concatenating the intermediate code, the privilege, and a common key; and,
applying an encoding function to the concatenation of the intermediate code, the privilege, and the common key so as to produce the second code.

### Claim 22 (depends on 21)

The method of claim 21 wherein the generating of an intermediate code comprises:
generating a first intermediate code by applying the second secret key to an initial value;
generating a second intermediate code by applying the second secret key to the first intermediate code to produce a result and by adding the user ID to the result; and,
generating a third intermediate code by applying the second secret key to the second intermediate code to produce a second result and adding a final value to the second result;
and wherein the concatenating of the intermediate code and the privilege comprises concatenating the first, second, and third intermediate codes, the privilege, and the common key.

### Claim 23

A reader of an access control system that controls access to a resource comprising:
a memory that stores a secret key; and,
a processor that reads the secret key from the memory, that reads an ID of a user, at least one privilege, and a first code from an user carried device carried by the user, that computes a second code based on the secret key read from the memory and the user ID and privilege read from the user carried device, that compares the first code to the second code, and that permits access to the resource based on the comparison, wherein the privilege defines the user's access to the resource, and wherein the first code comprises an encoded form of at least the user ID and the privilege.

### Claim 24 (depends on 23)

The reader of claim 23 wherein the reader computes the second code by:
generating an intermediate code based at least on the user ID and the secret key;
concatenating the intermediate code and the privilege; and,
applying an encoding function to the concatenation of the intermediate code and the privilege so as to produce the second code.

### Claim 25 (depends on 24)

The reader of claim 24 wherein the encoding function comprises a hash function.

### Claim 26 (depends on 24)

The reader of claim 24 wherein the reader generates the intermediate code by:
generating a first intermediate code by applying the secret key to an initial value;
generating a second intermediate code by applying the secret key to the first intermediate code to produce a result and by adding the user ID to the result; and,
generating a third intermediate code by applying the secret key to the second intermediate code to produce a second result and by adding a final value to the second result;
and wherein the concatenating of the intermediate code and the privilege comprises concatenating the first, second, and third intermediate codes and the privilege.

### Claim 27 (depends on 23)

The reader of claim 23 wherein the reader computes the second code based on the secret key read from the memory, the user ID and privilege read from the user carried device, and a common key.

### Claim 28 (depends on 27)

The reader of claim 27 wherein the reader computes the second code by:
generating an intermediate code based at least on the user ID and the secret key;
concatenating the intermediate code, the privilege, and the common key; and,
applying an encoding function to the concatenation of the intermediate code, the privilege, and the common key so as to produce the second code.

### Claim 29 (depends on 28)

The reader of claim 28 wherein the encoding function comprises a hash function.

### Claim 30 (depends on 28)

The reader of claim 28 wherein the reader generates the intermediate code by:
generating a first intermediate code by applying the secret key to an initial value;
generating a second intermediate code by applying the secret key to the first intermediate code to produce a result and by adding the user ID to the result; and,
generating a third intermediate code by applying the secret key to the second intermediate code to produce a second result and by adding a final value to the second result; and,
and wherein the concatenating of the intermediate code, the privilege, and the common key comprises concatenating the first, second, and third intermediate codes, the privilege, and the common key.

### Claim 31 (depends on 23)

The reader of claim 23 wherein the secret key comprises a first secret key, wherein the first code is based on a second secret key, and wherein the first and second secret keys are symmetrical.

### Claim 32

A user carried device for use by an access control system that controls access to a resource comprising:
a memory that stores an ID of a user, at least one privilege, and a hash value, wherein the hash value is based on an application of a hash function to encrypted data, wherein the encrypted data is based on the user ID, the privilege, and a key, and wherein the privilege embodies a policy governing the user's access to the resource; and,
an interface that communicates the user ID, the privilege, and the hash value to a reader of the access control system.

### Claim 33 (depends on 32)

The user carried device of claim 32 wherein the key comprises a secret key applicable to only one user, wherein the hash value is further based on a common key, and wherein the common key is applicable to a plurality of users.

### Claim 34 (depends on 32)

The user carried device of claim 32 wherein the hash value comprises a self-expiring hash value.
