Secure analytical assets and verify effective access
Distinguish workspace permissions, warehouse privileges, qualified names and data protections.
Secure analytical assets and verify effective access
Work through the decision
An operations supervisor can open a dashboard but sees an authorization error for finance.gold.ticket_sales. The author can query it. Should the supervisor become the table owner?
Check your reasoning
Determine which identity runs the query. Test warehouse access, navigation privileges for the catalog and schema, and SELECT on the object or governed view. Grant the relevant group only what it needs. Keep ownership with an accountable group that can manage the asset throughout staff changes.
Compare the choices
- Unity Catalog privileges
- Check the necessary catalog, schema and object permissions for the executing identity. A workspace object grant alone may be insufficient.
- Three-part object name
- Qualify a table or view by catalog, schema and object so its identity remains stable across session defaults.
- Group ownership
- Assign responsibility and authority to an appropriate managed group so stewardship persists when an individual leaves.
- Protected projection or mask
- Expose approved fields or masked values to the intended audience while restricting access to the underlying sensitive data.
Test the decision
Use the three-part namespace to disambiguate data across environments. Restrict base tables containing personal information and expose only approved fields or masked values. A shared link needs the correct publication and credential model. Test with identities representing both the allowed and restricted audiences.
Practice the guide skills
- A user can open a workspace dashboard but a dataset query fails under the viewer’s identity. Watch 2:11:56 · Continue at 2:13:00
Check your answer
Check warehouse access plus the relevant USE CATALOG, USE SCHEMA and SELECT privileges. Workspace sharing and Unity Catalog grants affect different resources.
- Two schemas expose a table called sales. How should a scheduled query resolve it? Watch 2:10:31
Check your answer
Use a three-part catalog.schema.object identifier and verify its type and owner. For volume files use the supported volume path within that namespace.
- Restrict customer contact data in a reporting product. Watch 2:12:22 · Continue at 2:14:04 · Continue at 2:14:24
Check your answer
Assign ownership to a managed group, limit access to the base table, and publish a governed view or column mask as appropriate. Test both authorized and restricted roles using synthetic records.
Official objectives for this lesson
Related lesson · Access control
Secure analytical assets and verify effective access quiz
Answer 3 questions. Check each answer for an explanation.