AccessControl namespace in Whidbey

So my little birdie also told me not to miss ACL’s in the whidbey BCL. Brad Abrams wrote about this in January.

System.Security.AccessControl is namespace with many classes is in it for dealing with ACL and not having to be a security expert to figure out how. The really pleasing classes are the FileSecurity class and DirectorySecurity class. You can create these objects, set up all of the acl that you would like and then pass them in to system.io objects as you create them. So imagine creating a new file on the client machine and setting it’s ACL at that time.

The info on the Longhorn SDK site is not up to date with what is in the May bits so I can’t provide a link that shows the reference info on these classes. But you can see the basics of the namespace online. 

  Sign up for my newsletter so you don't miss my conference & Pluralsight course announcements!  

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.