Mask columns based on Ranger policies
You can mask data in query results based on Apache Ranger policies.
- show last 4 digits
- show first 4 digits
- show only year
- Apply a masking policy to the ssn column of a table to show the last four digits and exclude Jane Doe and John Smith.
- Apply a masking policy to the birthday column of a table to show only the year except to members of the Finance group.
- Apply a masking policy to each column of table ABC if the confidential column value is no.