Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Introducing Microsoft SQL Server 2019

You're reading from  Introducing Microsoft SQL Server 2019

Product type Book
Published in Apr 2020
Publisher Packt
ISBN-13 9781838826215
Pages 488 pages
Edition 1st Edition
Languages
Authors (8):
Kellyn Gorman Kellyn Gorman
Profile icon Kellyn Gorman
Allan Hirt Allan Hirt
Profile icon Allan Hirt
Dave Noderer Dave Noderer
Profile icon Dave Noderer
Mitchell Pearson Mitchell Pearson
Profile icon Mitchell Pearson
James Rowland-Jones James Rowland-Jones
Profile icon James Rowland-Jones
Dustin Ryan Dustin Ryan
Profile icon Dustin Ryan
Arun Sirpal Arun Sirpal
Profile icon Arun Sirpal
Buck Woody Buck Woody
Profile icon Buck Woody
View More author details
Toc

Table of Contents (15) Chapters close

Preface 1. Optimizing for performance, scalability and real‑time insights 2. Enterprise Security 3. High Availability and Disaster Recovery 4. Hybrid Features – SQL Server and Microsoft Azure 5. SQL Server 2019 on Linux 6. SQL Server 2019 in Containers and Kubernetes 7. Data Virtualization 8. Machine Learning Services Extensibility Framework 9. SQL Server 2019 Big Data Clusters 10. Enhancing the Developer Experience 11. Data Warehousing 12. Analysis Services 13. Power BI Report Server 14. Modernization to the Azure Cloud

Row-Level Security

Row-level security (RLS) gives database administrators and developers the ability to allow fine-grained access control over rows within tables. Rows can be filtered based on the execution context of a query. Central to this feature is the concept of a security policy where, via an inline table-valued function, you would write your filtering logic to control access with complete transparency to the application. Real-world examples include situations in which you would like to prevent unauthorized access to certain rows for specific logins, for example, only giving access to a super-user to view all rows within a sensitive table and allowing other users to see rows that only the super-user should see. The following example shows how simple it is to implement RLS via T-SQL. At a high level, access to a specific table called rls.All_Patient is defined by a column called GroupAccessLevel, which is mapped to two SQL logins called GlobalManager and General. As you can imagine...

You have been reading a chapter from
Introducing Microsoft SQL Server 2019
Published in: Apr 2020 Publisher: Packt ISBN-13: 9781838826215
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime