NTFS Folder Permissions

  • Thread starter Thread starter Joey
  • Start date Start date
J

Joey

Hey,
How can I add/edit/delete Folder NTFS permissions in .NET?
I have a Win2K Box, and WMI is not installed on my servers
Thanks ahead!

-- Joey
 
Hey Arne, Thanks for replying!
I'v seen this code, but it doesnt compile - all the const-like parameters
there (in example: ADS_SID_SDDL) are undefined...
If you could edit that code and give me a working sample that'd be greate!
Thanks ahead,

--Joey
 
Joey said:
Hey Arne, Thanks for replying!
I'v seen this code, but it doesnt compile - all the const-like parameters
there (in example: ADS_SID_SDDL) are undefined...
If you could edit that code and give me a working sample that'd be greate!
Thanks ahead,

Hi Joey,

I looked over the code of the MS-HowTo and I think that there are better
and more .NET-like ways to do this:

http://www.codeproject.com/dotnet/NTSecurityNET.asp

http://www.gotdotnet.com/Community/...mpleGuid=e6098575-dda0-48b8-9abf-e0705af065d9

Cheers

Arne Janning
 
Back
Top