Welcome to MSDN Blogs Sign in | Join | Help

SQL Server 2005 Label Security Toolkit

As referenced at the 2006 PASS conference this week, the Label Security Toolkit for SQL Server 2005 can be downloaded here [update: the file is attached to this post too].  This toolkit demonstrates how to combine the capabilities of SQL Server 2005 to implement a label-based row and/or cell level security framework in an application database. 

The toolkit includes a utility which allows you to logically define the security labeling scheme to be used in your app's database.  Based on this, at the click of a button the tool generates an implementation of the supporting framework.  All you need to do is create a simple view over the table(s) you wish to protect.  Support for insert/update/delete is added by writing instead-of triggers to capture these operations.  The toolkit documentation includes extensive design guidance and examples of implementing different scenarios.  Several working code samples are included as well.

The toolkit is a free download, and is not supported by Microsoft.

-Darryl (on behalf of Art)

Published Thursday, November 16, 2006 1:38 PM by Public Sector DPE Team
Attachment(s): Label Security Toolkit Install.zip

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: SQL Server 2005 Label Security Toolkit

I neat solution to some missing SQL Server functionality. Can I get a copy of the source code to investigate it further?

Monday, March 31, 2008 8:18 AM by Ian Shimmings

# re: SQL Server 2005 Label Security Toolkit

It doesn't work with the AdventureWorks DB available for download due to Collation: Latin1_General_CS_AS.

Is source code available?

Wednesday, July 09, 2008 11:54 AM by merill00

# re: SQL Server 2005 Label Security Toolkit

Its a .NET app. Source can be viewed with Reflector. CLR assemblies can be exported from the database to a file with a command similar to this...

bcp "select content from DATABASENAME.sys.assembly_files" queryout C:\Sample1.Functions.dll -S "MACHINENAME\SERVERNAME" -T

Wednesday, August 06, 2008 12:03 AM by Dan

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker