# Snowflake Secure Data Sharing

CloudFactory uses Snowflake, so the easiest way to share datasets would be through a Snowflake to Snowflake secure data sharing.

{% hint style="info" %}

#### <mark style="background-color:green;">`Note`</mark>

<mark style="background-color:green;">`For more information on how secure data sharing works between provider and consumer accounts, refer to the following guide from Snowflake:`</mark> [<mark style="background-color:green;">`Introduction to Secure Data Sharing`</mark>](https://docs.snowflake.com/en/user-guide/data-sharing-intro.html)<mark style="background-color:green;">`.`</mark>
{% endhint %}

Secure Data Sharing enables sharing selected objects in a database in your account with other Snowflake accounts. The following Snowflake database objects can be shared:

1. Tables
2. External tables
3. Secure views
4. Secure materialized views
5. Secure UDFs

Snowflake enables the sharing of databases through shares, which are created by data providers and “imported” by data consumers.&#x20;

<figure><img src="https://3598919924-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeIDXlxW9gckrh95snvSB%2Fuploads%2FaFDWwIUiyM4J5QDVC0H1%2Fimage.png?alt=media&#x26;token=46167d87-76b6-42c8-a3a0-24b5f110431b" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}

#### <mark style="background-color:green;">`Important`</mark>

<mark style="background-color:green;">`All database objects shared between accounts are read-only (i.e. the objects cannot be modified or deleted, including adding or modifying table data).`</mark>
{% endhint %}

####


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.cloudfactory.com/cloudfactory-public-api/snowflake-secure-data-sharing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
