Locked Folder Accessibility Block

  • Saturday, March 03, 2012 10:28 PM
     
     

    Hi with all.

    I was wondering which is the function / namespace I need to use in VS 2010 (using VB) to make a folder completely unaccesible (not even readable).

    Thanks in advance.

All Replies

  • Sunday, March 04, 2012 12:38 AM
     
     Answered
    Your goal could be interpreted many different ways.  Can you tell us how you would do this in the system management tools first?
     
    Assuming you just want to do "normal" things to the directory, such as protecting it from certain users, then DirectoryInfo.SetAccessControl may be what you are seeking.

    --
    Mike