when sharing data in snowflake using shares, do the objects being shared need to be…
- User
when sharing data in snowflake using shares, do the objects being shared need to be secure views
- Assistant
When sharing data in Snowflake using shares, it's recommended to use secure views to control data access. Secure views help ensure that sensitive data is not exposed to users in consumer accounts[1].
However, if you need to share non-secure views, you can create a share that allows non-secure objects by setting the
SECURE_OBJECTS_ONLYproperty toFALSEwhen creating the share. This approach enables you to share non-secure views, but it's important to note that other non-secure objects, such as non-secure functions, cannot be shared[2].In summary, while it's not mandatory for the objects being shared to be secure views, using secure views is strongly recommended to maintain data security.
- User
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.