Windows File security, removing an access rule
I have the following code, that should remove the access of users from a certain folder. Unfortunately it doesn't (the access rule remains in place). No exception is thrown. AuthorizationRuleCollection arc = ds.GetAccessRules(true, true, typeof(NTAccount)); foreach (FileSystemAccessRule ar in arc) { if (ar.IdentityReference is NT...