Enable table access control for your workspace


This feature is in Public Preview.

Table access control lets you programmatically grant and revoke access to your data using the Databricks view-based access control model. Table access control requires the Premium plan (or, for customers who subscribed to Databricks before March 3, 2020, the Operational Security package).

This article describes how to enable and enforce Python and SQL table access control for your Databricks workspace. For information about how to enable table access control on a cluster, see Enable table access control for a cluster. To learn how to set privileges on a data object once table access control is enabled, see Data object privileges.

Another approach to securing table access from clusters is SQL-only table access control, which is generally available and does not require enablement using the options described in this article.

Enable table access control for your workspace

  1. Log in to the Admin Console.

  2. Go to the Access Control tab.

    Access control tab
  3. Ensure that Cluster access control is enabled. You cannot enable table access control without having cluster access control already enabled.

  4. Next to Table Access Control, click the Enable button.

  5. Click Confirm.

Enforce table access control

To ensure that your users access only the data that you want them to, you must restrict your users to clusters with table access control enabled. In particular, you should ensure that:

  • Users do not have permission to create clusters. If they create a cluster without table access control, they can access any data from that cluster.

    Disable cluster create permission
  • Users do not have Can Attach To permission for any cluster that is not enabled for table access control.

See Cluster access control for more information.