How to set NTFS-Permissions

  • Thread starter Thread starter Josef G.
  • Start date Start date
J

Josef G.

Hello!
I'd like to read and set NTFS file and directory
permissions.
Is there a way to do this with vb.net?

thank you,
josef
 
Hi,

There is no support for ACL in the current framework. You have to go
through unmanaged code to set these. Please refer to this sample on
GotDotNet.

http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=e6098
575-dda0-48b8-9abf-e0705af065d9

Hope it helps.

--
Huy Nguyen, Visual Basic team.

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
 
Back
Top