Skip to main content

Privacera Documentation

Databricks Partner Connect - Quickstart for Unity Catalog

Welcome to the PrivaceraCloud Databricks Unity Catalog Quickstart. You have landed on this page because you have set up a connection from your Databricks Workspace to PrivaceraCloud using Databricks Partner Connect. The Databricks Unity Catalog catalog you provided at setup will be used for this quickstart. If you have used the hive_metastore catalog, legacy DatabricksSQL will be used to manage policies.

As part of the connection setup, we have created a schema (called sales_schema) in your catalog and created a table named privacera_sales_data that contains the sample dataset for the tutorial. Privacera access control policies have been pre-created in your PrivaceraCloud account for these scenarios. In this quickstart, we will use this sample schema and table to enforce various access policies.

This quickstart will walk you through common access scenarios following a cause-and-effect flow. You will be asked to run SQL queries in your Databricks Workspace and view the results. The results and behavior will change based on the policies that are enabled or disabled.

To follow this quickstart, keep the Databricks Workspace in one browser tab and the PrivaceraCloud web portal in another browser tab.

This quickstart will cover the following access use cases against the privacera_sales_schema_<date_timestamp>_secure tab:

  • Table-Level Access Control: Give a user full access to a table.

  • Column-Level Access Control: Give a user access to some columns of a table.

  • Dynamic Column Masking: Give a user full access to a table but mask the contents of a column.

  • Dynamic Row-Level Filter: Give a user access to only certain rows of a table.

These use cases are very basic. Please contact Privacera for configuring advanced use cases such as Tag-Based Access Control and Attribute-Based Access Control (ABAC).