Setting ACE/ACL permissions in .NET 2.0
Posted by: Rick Strahls WebLog,
on 04 Jan 2006 |
View original | Bookmarked: 0 time(s)
Setting ACE/ACL Permissions is getting a bit more – uh, organized in .NET 2.0 with a set of classes that allow reading and assigning of the security descriptors. I’m no expert in this complex topic, but I do have frequent needs to set directory and file level ACE/ACL permissions.
I had previously posted on how to do this using CACLS.EXE and that actually works well. In fact, all things considered it looks like it’s actually easier to do that than what I’ll show below....