In C# (2.0) How do I remove all permissions to a directory, so I can limit the access. I will be adding access back to a limited set of users.
System.IO.Directory.GetAccessControl() and then edit the returned FileSecurity object.