Attribute-based access control in Unity Catalog
Attribute-based access control (ABAC) is an access control model in Unity Catalog where access is determined by evaluating attributes. Attributes can describe the data (governed tags), the user running the query (identity attributes, Beta), or the request (context attributes, Beta). Policy conditions use them to identify which data to protect and which users a policy applies to.
Policies are attached at a level in the Unity Catalog hierarchy, such as a metastore (Beta), catalog, schema, or table, and are evaluated dynamically. When a securable object has the attributes targeted by a policy, that policy takes effect automatically, so a single policy can enforce consistent access rules across an entire metastore, catalog, or schema.
ABAC supports row and column-level security through row filter policies and column mask policies on tables and views (Beta). ABAC also supports dynamic privilege grants through GRANT policies and explicit privilege denials through DENY policies (Beta), on supported securable types. ABAC also provides service policies, which act as AI guardrails on model services, model provider services, and MCP services.
The following topics help you get started with ABAC in Unity Catalog.
Topic | Description |
|---|---|
Covers governed tags, policies, UDFs, policy scope, tag inheritance, and how policies are evaluated and enforced at query time. | |
How to create, edit, view, and delete row filter and column mask policies using Catalog Explorer, SQL, and REST APIs. | |
How to attach policies at the metastore level (Beta) so a single policy applies across every catalog in the metastore. | |
How to create and manage GRANT policies for dynamic privilege grants on supported securable types. | |
How to create and manage DENY policies (Beta), which deny the | |
How to filter rows and mask columns by a user's department, country, or other attributes from your identity provider. | |
How service policies act as AI guardrails on AI services, and how they relate to the other ABAC policies. | |
Row filter and column mask policy evaluation and runtime behavior | Policy evaluation and enforcement internals and audit logging for tag and policy operations. |
Reusable patterns for row filtering and column masking, including masking based on the request context, and | |
Recommendations for policy scope, tag taxonomy design, and policy management. | |
Performance considerations for row filter and column mask policies | Performance characteristics of ABAC policies, including UDF complexity, predicate pushdown, and query optimization. |
When to use ABAC vs table-level row filters and column masks | How to choose between ABAC policies and table-level row filters and column masks, including differences in scope, ownership, and override behavior. |
Requirements, quotas, and limitations for row filter and column mask policies | Compute requirements, policy quotas, and current ABAC limitations including view support and conflict resolution. |