---
title: Attribute-based access control in Unity Catalog
description: Learn about attribute-based access control (ABAC) in Unity Catalog for row filtering and column masking, including policies, governed tags, tutorials, and best practices.
canonical_url: https://docs.databricks.com/aws/en/data-governance/unity-catalog/abac/
---

# 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** associated with [securable objects](https://docs.databricks.com/aws/en/data-governance/unity-catalog/securable-objects.md). These attributes, represented through [governed tags](https://docs.databricks.com/aws/en/admin/governed-tags/index.md), are used in **policy** conditions to identify which data a policy should protect.

[Policies](https://docs.databricks.com/aws/en/data-governance/unity-catalog/abac/core-concepts.md#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](https://docs.databricks.com/aws/en/data-governance/unity-catalog/abac/core-concepts.md#policy-types) and [column mask policies](https://docs.databricks.com/aws/en/data-governance/unity-catalog/abac/core-concepts.md#policy-types) on tables and [views (Beta)](https://docs.databricks.com/aws/en/data-governance/unity-catalog/abac/requirements.md#abac-policies-on-views). ABAC also supports dynamic privilege grants through [GRANT policies](https://docs.databricks.com/aws/en/data-governance/unity-catalog/abac/grant-policies.md) and explicit privilege denials through [DENY policies](https://docs.databricks.com/aws/en/data-governance/unity-catalog/abac/deny-policies.md) (Beta), on supported securable types.

The following topics help you get started with ABAC in Unity Catalog.

| Topic                                                                                                                                                                  | Description                                                                                                                                                                                       |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Core concepts for attribute-based access control (ABAC)](https://docs.databricks.com/aws/en/data-governance/unity-catalog/abac/core-concepts.md)                      | Covers governed tags, policies, UDFs, policy scope, tag inheritance, and how policies are evaluated and enforced at query time.                                                                   |
| [Create and manage row filter and column mask policies](https://docs.databricks.com/aws/en/data-governance/unity-catalog/abac/policies.md)                             | How to create, edit, view, and delete row filter and column mask policies using Catalog Explorer, SQL, and REST APIs.                                                                             |
| [Metastore-level ABAC policies (Beta)](https://docs.databricks.com/aws/en/data-governance/unity-catalog/abac/metastore-policies.md)                                    | How to attach policies at the metastore level (Beta) so a single policy applies across every catalog in the metastore.                                                                            |
| [ABAC GRANT policies](https://docs.databricks.com/aws/en/data-governance/unity-catalog/abac/grant-policies.md)                                                         | How to create and manage GRANT policies for dynamic privilege grants on supported securable types.                                                                                                |
| [ABAC DENY policies (Beta)](https://docs.databricks.com/aws/en/data-governance/unity-catalog/abac/deny-policies.md)                                                    | How to create and manage DENY policies (Beta), which deny the `MANAGE ACCESS CONTROL` privilege on supported securable types.                                                                     |
| [Row filter and column mask policy evaluation and runtime behavior](https://docs.databricks.com/aws/en/data-governance/unity-catalog/abac/policy-evaluation.md)        | Policy evaluation and enforcement internals and audit logging for tag and policy operations.                                                                                                      |
| [Common patterns for row filtering and column masking](https://docs.databricks.com/aws/en/data-governance/unity-catalog/abac/common-patterns.md)                       | Reusable patterns for row filtering and column masking, including column masking with identity attributes, masking based on the request context, and `VARIANT`-based UDFs for multi-type masking. |
| [Best practices for ABAC policies](https://docs.databricks.com/aws/en/data-governance/unity-catalog/abac/best-practices.md)                                            | Recommendations for policy scope, tag taxonomy design, and policy management.                                                                                                                     |
| [Performance considerations for row filter and column mask policies](https://docs.databricks.com/aws/en/data-governance/unity-catalog/abac/performance.md)             | 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](https://docs.databricks.com/aws/en/data-governance/unity-catalog/abac/abac-vs-rls-cm.md)                | 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](https://docs.databricks.com/aws/en/data-governance/unity-catalog/abac/requirements.md) | Compute requirements, policy quotas, and current ABAC limitations including view support and conflict resolution.                                                                                 |
