Skip to main content

Posts

SQL Server Row Level Security

SQL Server Row Level Security Row-level security (RLS) is a feature added as of SQL Server 2016. Instead of encrypting or decrypting a database’s table data, it restricts and filters a table’s row-level data in accordance with security policies defined by the user. This enables the database engine to limit the number of exposed data rows. This is a simple and powerful SQL Server security control that is transparent to both clients and user applications. Permissions Creating, altering, or dropping security policies requires the ALTER ANY SECURITY POLICY permission. Creating or dropping a security policy requires ALTER permission on the schema. Additionally, the following permissions are required for each predicate that is added: ·          SELECT and REFERENCES permissions on the function being used as a predicate. ·          REFERENCES permission on the target table being bound to the policy...
Recent posts

Dynamic Data Masking

Dynamic Data Masking Dynamic data masking feature that Microsoft implemented in SQL Server 2016 version. Dynamic data masking (DDM) limits sensitive data exposure by masking it to non-privileged users. It can be used to greatly simplify the design and coding of security in your application. Dynamic data masking helps prevent unauthorized access to sensitive data by enabling customers to specify how much sensitive data to reveal with minimal impact on the application layer. DDM can be configured on designated database fields to hide sensitive data in the result sets of queries. With DDM the data in the database is not changed. DDM is easy to use with existing applications, since masking rules are applied in the query results. Many applications can mask sensitive data without modifying existing queries. A central data masking policy acts directly on sensitive fields in the database. Designate privileged users or roles that do have access to the sensitive data. DDM...