# US 2003/0070071 A1 · Secure file access control via directory encryption

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

- Number: US 2003/0070071 A1
- Document ID: US20030070071A1
- Status: Published application
- Kind: A1
- Application number: 09/972,385
- Filed: 2001-10-05
- Published: 2003-04-10
- Earliest claimed: 2001-10-05
- Assignees: Hewlett-Packard Development Company, L.P.
- Inventors: Erik Riedel; Mahesh Kallahalla; Ram Swaminathan
- Web page: https://patentgrep.com/patent/US20030070071A1

## CPC

- G06F 21/6218: {to a system of files or objects, e.g. local or distributed file system or database}
- G06F 2221/2107: File encryption
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A technique for secure file access control via directory encryption. Filenames of data files stored by a network server are encrypted so as to protect them in the event the server is untrustworthy, such as in a distributed computing environment. Two encryption keys are employed so as to provide different access capabilities. For example, clients of the server that are authorized to perform read-only operations on the files may be prevented from modifying the files, while client that are authorized to perform write operations, may modify the files or even delete the files. In a preferred embodiment, encrypted filenames replace plaintext files in a directory structure without otherwise changing the directory structure. Because the directory structure is otherwise unchanged, the server may still have adequate information to perform file management and space management functions.

## Claims

### Claim 1

A method of file access control comprising:
a. storing an encrypted filename of a file at a location in a computing system;
b. converting the encrypted filename into a plaintext filename;
c. modifying the plaintext filename into a modified filename; and
d. authorizing an entity to access the file for performing a type of operation on the file based on the modified filename.

### Claim 2 (depends on 1)

The method according to claim 1, wherein said converting comprises using a combination of two encryption keys to convert the encrypted filename into the plaintext filename.

### Claim 3 (depends on 2)

The method according to claim 2, wherein said modifying comprises using a first one of the two encryption keys to encrypt the plaintext filename into the modified filename.

### Claim 4 (depends on 3)

The method according to claim 3, wherein said authorizing comprises using the second one of the two encryption keys to encrypt the modified filename to form a result and determining whether the result matches the encrypted filename.

### Claim 5 (depends on 2)

The method according to claim 2, wherein said modifying comprises using a first one of the two encryption keys to encrypt the plaintext filename and performing a hash function on the filename thereby forming the modified filename.

### Claim 6 (depends on 5)

The method according to claim 5, wherein said authorizing comprises comparing the modified filename to a stored hash value.

### Claim 7 (depends on 1)

The method according to claim 1, wherein said encrypted filename is encrypted using a first key prior to said storing and further comprising storing a second encrypted filename of the file at the location wherein the second encrypted filename is encrypted using a second key prior to said storing.

### Claim 8 (depends on 7)

The method according to claim 7, wherein said converting comprises using the first key to convert the encrypted filename into the plaintext filename.

### Claim 9 (depends on 8)

The method according to claim 8, wherein said modifying comprises using the second key to encrypt the plaintext filename into the modified filename.

### Claim 10 (depends on 9)

The method according to claim 9, wherein said authorizing comprises comparing the modified filename to the second encrypted filename.

### Claim 11 (depends on 10)

The method according to claim 10, wherein said modifying further comprises performing a hash function on the filename after using the second key to encrypt the plaintext filename.

### Claim 12 (depends on 1)

The method according to claim 1, wherein the plaintext filename permits read access to the file and wherein said type of operation is a write operation.

### Claim 13 (depends on 1)

The method according to claim 1, wherein said storing comprises substituting said encrypted filename into a directory structure at the location in place of the plaintext filename.

### Claim 14 (depends on 1)

The method according to claim 1, further comprising encrypting data of the file.

### Claim 15

An apparatus for controlling access to a file, comprising:
a. a server for the storing an encrypted filename associated with a file; and
b. a client in communication with the server for retrieving the encrypted filename from the server, for converting the encrypted filename into a plaintext filename and for modifying the plaintext filename into a modified filename,
wherein the client provides the modified filename to the server and wherein the server determines whether the client is authorized to perform a type of operation on the file based on the modified filename received from the client.

### Claim 16 (depends on 15)

The apparatus according to claim 15, wherein the plaintext filename permits read access to the file and wherein the type of operation to the file is a write operation.

### Claim 17 (depends on 15)

The apparatus according to claim 15, wherein said client converts the encrypted filename into the plaintext filename using a combination of two encryption keys.

### Claim 18 (depends on 17)

The apparatus according to claim 17, wherein said client forms the modified filename using a first one of the two encryption keys to encrypt the plaintext filename.

### Claim 19 (depends on 18)

The apparatus according to claim 18, wherein said server determines whether the client is authorized to perform the type of operation on the file by using the second one of the two encryption keys to encrypt the modified filename to form a result and determines whether the result matches the encrypted filename provided by the client.

### Claim 20 (depends on 17)

The apparatus according to claim 17, wherein said client forms the modified filename using a first one of the two encryption keys to encrypt the plaintext filename.

### Claim 21 (depends on 20)

The apparatus according to claim 20, wherein said server performs a hash function on the filename to form a result and determines whether the client is authorized to perform the type of operation on the file by comparing the result to a stored hash value.

### Claim 22 (depends on 17)

The apparatus according to claim 17, wherein said client forms the modified filename using a first one of the two encryption keys to encrypt the plaintext filename and performs a hash function on the filename to form a result and wherein the server determines whether the client is authorized to perform the type of operation on the file by comparing the result to a stored hash value.

### Claim 23 (depends on 15)

The apparatus according to claim 15, wherein the encrypted filename is encrypted using a first key and wherein the server stores a second encrypted filename wherein the second encrypted filename is encrypted using a second key.

### Claim 24 (depends on 23)

The apparatus according to claim 23, wherein the client converts the encrypted filename into the plaintext filename using the first key and modifies the plaintext filename into the modified filename using the second key.

### Claim 25 (depends on 24)

The apparatus according to claim 24, wherein the server determines whether the client is authorized to perform a type of operation on the file by comparing the modified filename to the second encrypted filename.

### Claim 26 (depends on 25)

The apparatus according to claim 25, wherein the server performs a hash function on the filename after the client uses the second key to modify the filename.

### Claim 27 (depends on 25)

The apparatus according to claim 25, wherein the client performs a hash function on the filename after using the second key to modify the filename.

### Claim 28

An apparatus for controlling access to a file comprising a server having a stored encrypted filename of a file, the server being in communication with a writer and a reader, the writer being a client of the server and having a first key that permits the writer to write to the file and the reader being another client of the server and having a combination of the first key and a second key wherein the combination permits the reader to read the file.

### Claim 29 (depends on 28)

The apparatus according to claim 28, wherein the stored encrypted filename is obtained by encrypting a filename of the file using the combination of the first key and the second key.

### Claim 30 (depends on 29)

The apparatus according to claim 29, wherein the server determines that the writer is authorized to write to the file by receiving from the writer the filename encrypted using the first key, encrypting the received filename again using the second key thereby forming a twice encrypted filename and comparing the twice encrypted filename to the stored encrypted filename.

### Claim 31 (depends on 29)

The apparatus according to claim 29, wherein the server determines that the writer is authorized to write to the file by receiving from the writer the filename encrypted using the first key, applying a hash function to the received filename thereby forming a computed hash value and comparing the computed hash value to a stored hash value.

### Claim 32

An apparatus for controlling access to a file comprising a server having a first stored encrypted filename of the file and a second stored encrypted filename of the file, the server being in communication with a writer and a reader, the writer being a client of the server and having a first key that permits the writer to write to the file and the reader being another client of the server and having a second key that permits the reader to read the file.

### Claim 33 (depends on 32)

The apparatus according to claim 32, wherein the reader decrypts the first stored encrypted filename using the first key.

### Claim 34 (depends on 33)

The apparatus according to claim 33, wherein the server determines that the writer is authorized to write to the file by receiving from the writer the filename encrypted using the second key and comparing the received filename to the second stored encrypted filename.

### Claim 35 (depends on 33)

The apparatus according to claim 33, wherein the server performs a hash function on the received filename before comparing the received filename to the second stored encrypted filename.
