Submitted by: Srinath M S(

Wednesday Feb 7th 2018 by Srinath M S

Language: SQL, Expertise: Advanced - Learn to implement restrictions on data row access in SQL 2016.

SQL 2016's RLS Feature allows you to implement restrictions on data row access. You can use this business rule manager to enforce rules that are difficult to achieve through the data layers or the API wrappers that talk to database and extract code.

You can thus enforce business rules such as, when Client A runs a SELECT Query, the database will never return data of any other client.

It is a three step process: Set the session context on a SQL connection, create Security Policy and Predicate function and you are all set.

Refer to Microsoft's documentation on this useful feature here.

Mobile Site | Full Site
Copyright 2018 © QuinStreet Inc. All Rights Reserved