cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Data Masking

JanFalta
New Contributor

Hi all,

I need some help on this masking problem. If you create a view with used masking function based on table.
The user reading this view has to have read access to underlying table. So theoretically, he can access unmasked data in the table.

I would like to have solution, which will allow me to mask the table the way, that if the user reads data, based on his role, masking is applied or not. Is there a way to build it in Databricks?

Thank you Jan

1 REPLY 1

AbhaySingh
Databricks Employee
Databricks Employee

Are you on Unity catalog? 

Databricks has a solution for this through Unity Catalog Column Masking (also called Dynamic Views or Column-Level Security).

https://learn.microsoft.com/en-us/azure/databricks/data-governance/unity-catalog/filters-and-masks/