# US 2023/0409724 A1 · Secure shared data application access

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

- Number: US 2023/0409724 A1
- Document ID: US20230409724A1
- Status: Published application
- Kind: A1
- Application number: 18/104,275
- Filed: 2023-01-31
- Published: 2023-12-21
- Earliest claimed: 2022-06-13
- Assignees: Snowflake Inc.
- Applicants: Snowflake Inc.
- Inventors: Damien Carru; Jeremy Yujui Chen; Mohamad Raja Gani Mohamad Abdul; William A. Pugh
- Web page: https://patentgrep.com/patent/US20230409724A1

## CPC

- G06F 21/6218: {to a system of files or objects, e.g. local or distributed file system or database}
- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- G06F 21/629: {to features or functions of an application}
- G06F 2221/2141: Access rights, e.g. capability lists, access control lists, access tables, access matrices
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A data platform for developing and deploying a data application. The data platform receives from a first user the data application and provider granted privileges including a consumer usage privilege and a consumer access to data privilege. The data platform authorizes the second user to access the data platform based on one or more consumer account privileges included in a set of account privileges. The data platform authorizes the second user to execute the data application based on the consumer usage privilege. During execution, the data platform authorizes the data application to access the provider database object based on the consumer access to data privilege, and authorizes the data application to access the consumer database object based on a provider access to data privilege provided by the second user.

## Claims

### Claim 1

A computer-implemented method of a data platform, the method comprising:
receiving, from a consumer user, a request to use a data application of the data platform, the data application provided by a provider user of the data platform;
authorizing the data application to access a provider database object provided by the provider user based on a consumer access to data privilege granted by the provider user to the consumer user; and
authorizing the data application to access a consumer database object provided by the consumer user based on a provider access to data privilege granted by the consumer user to the provider user.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the data application includes an application identification having a Universally Unique Identifier (UUID) that uniquely identifies the data application and does not change with a change in a name of the data application.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the data application includes one or more roles used to restrict the roles that a running data application can perform.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the data application includes an identification of an execution environment that determines how to run the data application.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the data platform receives from the consumer user the consumer granted privileges when the consumer user purchases a consumer usage privilege to the data application.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein authorizing, by the data platform, the consumer user to use the data application further comprises:
establishing a Web socket connection by a data application browser to the data platform based on consumer account privileges of the consumer user.

### Claim 7 (depends on 6)

The computer-implemented method of claim 6, wherein authorizing, by the data platform, the consumer user to use the data application further comprises:
attaching a session of the consumer user to the Web socket connection to evaluate a context used to process a request to use the data application in a sandboxed execution environment.

### Claim 8 (depends on 7)

The computer-implemented method of claim 7, wherein the execution of the data application by the data platform in response to the request from the consumer user further comprises
executing the data application in the sandboxed execution environment wherein the data application executes in the context of one or more provider account privileges associated with the provider user.

### Claim 9 (depends on 8)

The computer-implemented method of claim 8, wherein executing the data application in the sandboxed execution environment further comprises:
generating one or more results based on data obtained by accessing the provider database object and the consumer database object; and
authorizing storing of the one or more results to the consumer database object based on the consumer granted privileges.

### Claim 10 (depends on 9)

The computer-implemented method of claim 9, wherein executing the data application in the sandboxed execution environment further comprises:
authorizing communication of the one or more results to the data application browser used by the consumer user to access the data platform, the authorizing based on the consumer account privileges associated with the consumer user.

### Claim 11

A data platform comprising:
one or more processors; and
at least one memory storing instructions that, when executed by the one or more processors, cause the data platform to perform operations comprising:
receiving, from a consumer user, a request to use a data application of the data platform, the data application provided by a provider user of the data platform;
authorizing the data application to access a provider database object provided by the provider user based on a consumer access to data privilege granted by the provider user to the consumer user; and
authorizing the data application to access a consumer database object provided by the consumer user based on a provider access to data privilege granted by the consumer user to the provider user.

### Claim 12 (depends on 11)

The data platform of claim 11, wherein the data application includes an application identification having a Universally Unique Identifier (UUID) that uniquely identifies the data application and does not change with a change in a name of the data application.

### Claim 13 (depends on 11)

The data platform of claim 11, wherein the data application includes one or more roles used to restrict the roles that a running data application can perform.

### Claim 14 (depends on 11)

The data platform of claim 11, wherein the data application includes an identification of an execution environment that determines how to run the data application.

### Claim 15 (depends on 11)

The data platform of claim 11, wherein the data platform receives from the consumer user the consumer granted privileges when the consumer user purchases a consumer usage privilege to the data application.

### Claim 16 (depends on 11)

The data platform of claim 11, wherein authorizing, by the data platform, the consumer user to use the data application further comprises:
establishing a Web socket connection by a data application browser to the data platform based on consumer account privileges of the consumer user.

### Claim 17 (depends on 16)

The data platform of claim 16, wherein authorizing, by the data platform, the provider user to use the data application further comprises:
attaching a session of the consumer user to the Web socket connection to evaluate a context used to process a request to use the data application in a sandboxed execution environment.

### Claim 18 (depends on 17)

The data platform of claim 17, wherein the execution of the data application by the data platform in response to the request from the consumer user further comprises:
executing the data application in the sandboxed execution environment wherein the data application executes in the context of one or more provider account privileges associated with the provider user.

### Claim 19 (depends on 18)

The data platform of claim 18, wherein executing the data application in the sandboxed execution environment further comprises:
generating one or more results based on data obtained by accessing the provider database object and the consumer database object; and
authorizing storing of the one or more results to the consumer database object based on the consumer granted privileges.

### Claim 20 (depends on 19)

The data platform of claim 19, wherein executing the data application in the sandboxed execution environment further comprises:
authorizing communication of the one or more results to the data application browser used by the consumer user to access the data platform, the authorizing based on the consumer account privileges associated with the consumer user.

### Claim 21

A computer-storage medium comprising instructions that, when executed by one or more processors of a data platform, cause the data platform to perform operations comprising:
receiving, from a consumer user, a request to use a data application of the data platform, the data application provided by a provider user of the data platform;
authorizing the data application to access a provider database object provided by the provider user based on a consumer access to data privilege granted by the provider user to the consumer user; and
authorizing the data application to access a consumer database object provided by the consumer user based on a provider access to data privilege granted by the consumer user to the provider user.

### Claim 22 (depends on 21)

The computer-storage medium of claim 21, wherein the data application includes an application identification having a Universally Unique Identifier (UUID) that uniquely identifies the data application and does not change with a change in a name of the data application.

### Claim 23 (depends on 21)

The computer-storage medium of claim 21, wherein the data application includes one or more roles used to restrict the roles that a running data application can perform.

### Claim 24 (depends on 21)

The computer-storage medium of claim 21, wherein the data application includes an identification of an execution environment that determines how to run the data application.

### Claim 25 (depends on 21)

The computer-storage medium of claim 21, wherein the data platform receives from the consumer user the consumer granted privileges when the consumer user purchases a consumer usage privilege to the data application.

### Claim 26 (depends on 21)

The computer-storage medium of claim 21, wherein authorizing, by the data platform, the consumer user to use the data application further comprises:
establishing a Web socket connection by a data application browser to the data platform based on consumer account privileges of the consumer user.

### Claim 27 (depends on 26)

The computer-storage medium of claim 26, wherein authorizing, by the data platform, the consumer user to use the data application further comprises:
attaching a session of the provider user to the Web socket connection to evaluate a context used to process a request to use the data application in a sandboxed execution environment.

### Claim 28 (depends on 27)

The computer-storage medium of claim 27, wherein the execution of the data application by the data platform in response to the request from the provider user further comprises:
executing the data application in the sandboxed execution environment wherein the data application executes in the context of one or more provider account privileges associated with the provider user.

### Claim 29 (depends on 28)

The computer-storage medium of claim 28, wherein executing the data application in the sandboxed execution environment further comprises:
generating one or more results based on data obtained by accessing the provider database object and the consumer database object; and
authorizing storing of the one or more results to the consumer database object based on the consumer granted privileges.

### Claim 30 (depends on 29)

The computer-storage medium of claim 29, wherein executing the data application in the sandboxed execution environment further comprises:
authorizing communication of the one or more results to the data application browser used by the consumer user to access the data platform, the authorizing based on the consumer account privileges associated with the consumer user.
