Implementing Row Level Security in SQL Server 2008

后端 未结 1 1328
一生所求
一生所求 2021-01-02 02:53

Is there a built-in feature, or way to simulate RLS(Row Level Security) in SQL Server 2008 as found in Oracle?

相关标签:
1条回答
  • 2021-01-02 03:53

    This MS whitepaper outlines how to do it. http://technet.microsoft.com/en-us/library/cc966395.aspx

    You take the permissions away from the table, then create a series of security tables and roles that allow you to validate each level for the user. After you setup your security checking on the user, you use a view to filter what the user can query via the security levels and the user's login. Then you have insert, update, delete instead of triggers on the view to redirect the action to the table.

    0 讨论(0)
提交回复
热议问题