Built-in Row-Level Security in SQL Server 2016

Built-in Row-Level Security in SQL Server 2016

Row-Level Security in SQL Server 2016
Microsoft development team has been widely focused on Built-in Raw-Level Security (RLS) programmability feature in SQL Server 2016 that centralises our row access logic within the database. Raw-Level Security enables customers to fine-grained access control to rows in a database table based on the characteristics of the user executing a query.

Why Row-Level Security (RLS)?

Before introduction of Row-Level Security, customer come-up with different solutions to implement Row-Level Security. For that, one hand they were using SQL views and other hand we have custom application code but both solutions contain problems because-

SQL views are decentralised where we need to create view on the top of each data table that we want to protect and spreading our access logic all over the place and also susceptible to runtime errors. It has become difficult to maintain during app upgrades also.

In Custom application code also became difficult to maintain as code base grows and access logic is separated from the data because multiple applications are accessing and referencing the same database and we need to re-implement the access logic. 

To view or add a comment, sign in

More articles by Mukesh Singh

  • Data compression features in SQL Server

    SQL Server supports row and page compression on tables, indexes and partitions inside a database to reduce the size of…

    1 Comment
  • Benefits and capabilities of Data Lake

    We know that data is the business asset for any organisation which always keeps secure and accessible to business users…

    1 Comment
  • Data Engineering

    Data engineering ensuring all right data (internal/external, structured/unstructured) are identified, sourced, cleaned,…

  • Part 1 - Slowly Changing Dimensions in Data Warehouse

    Dimensional modeling is different from data modeling because it is fundamentally a logical modeling of business…

    1 Comment
  • Disable Indexes and Constraints in SQL Server

    We know that Indexes can help queries to find data quickly in a database and they provide opportunities for much more…

  • Nonclustered Index structure in SQL Server

    All indexes are organized on B-trees and always have a single root node. SQL Server always uses this root node as the…

  • Clustered Index structure in SQL Server

    We know that both types of indexes are following B-Tree (Balanced-Tree) structures. In the index structure, the top…

  • How to create a matrix report in SSRS

    Matrix is a wonderful feature in SSRS to display grouped data on the summary level to organise our business data in a…

  • Configure Report Subscriptions in SSRS

    SQL Server Reporting Services comes with many features to visualize your business data. In term of Report delivery…

  • Analysis Services enhancements in SQL Server 2016

    SQL Server 2016 is fully loaded with loaded with several new amazing features, including more speed, more security and…

Insights from the community

Others also viewed

Explore topics