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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top