Enable Native Support¶
Privacera supports native column masking and row-level filtering policies for Microsoft SQL Server. This capability allows data access policies to be enforced using SQL Server’s native features instead of secure views, when the connector is configured accordingly.
Note
Secure view-based enforcement is enabled by default. To use native masking and row-level filtering, enable the native options below and disable the secure view settings that would otherwise take precedence.
Configuration¶
-
SSH to the instance where Privacera Manager is installed.
-
Run the following command to open the
.ymlfile to be edited.If you have multiple connectors, then replace
instance1with the appropriate connector instance name.Bash -
Enable native support by setting the following properties to
true: -
Disable secure view-based policies by setting the following properties to
false:YAML Ranger PolicySync equivalents
If you use PolicySync configuration or a
*.propertiesfile instead of the YAML variables above, set the following properties so native masking and row filtering match that setup. -
Once the properties are configured, run the following commands to update your Privacera Manager platform instance:
Step 1 - Setup which generates the helm charts. This step usually takes few minutes.
Step 2 - Apply the Privacera Manager helm charts. Step 3 - (Optional) Post-installation step which generates Plugin tar ball, updates Route 53 DNS and so on. This step is not required if you are updating only connector properties.
-
Navigate to Settings → Applications in the Self-Managed Portal.
-
From the list of Connected Applications, select MSSQL.
-
Click on the application name or the icon to edit. Then, go to the Access Management tab.
-
Under ADVANCED tab, ensure the following options are enabled:
- Enforce native column masking: Enables native column masking.
- Enforce native row filter policies: Enables native row-level filtering.
-
Under ADVANCED tab, ensure the following secure view options are disabled when using native enforcement:
- Enforce masking policies using secure views: Disable this option if you want to use native masking instead of secure views.
- Enforce row filter policies using secure views: Disable this option if you want to use native row filter instead of secure views.
- Create secure view for all tables/views: Disable this option if you want to use native enforcement for all tables and views instead of secure views.
- Enable dataadmin: Disable this option when you are not using secure views for enforcement.
-
Click SAVE to apply the changes.
- Prev topic: Advanced Configuration