Re: Set Protection to a folder

From: Chris Rolon (chris.rolon_at_removethis.neudesic.com)
Date: 01/30/05

  • Next message: Erik Cruz: "Re: A question about IUSR_<MachineName>"
    Date: Sun, 30 Jan 2005 10:25:29 -0800
    
    

    Unfortunately there is no easy programmatic method to set ACLs in .Net
    without resorting to p/invoke. VS 2005 will permit setting ACLs. Isn't that
    always the case? The feature that you need now will be in the next version.

    In any case, I'm sure that someone has written a wrapper for the Win32 API.
    Or you could use SetAcl.
    http://sourceforge.net/projects/setacl

    -- 
    Chris Rolon
    "John Fred" <gen@msn.com> wrote in message
    news:evFOyFvAFHA.2540@TK2MSFTNGP09.phx.gbl...
    > I have must set Protection to a folder and remove other exists protection.
    > I use for set protection Api AddAccessAllowedAce but this api set MyUser
    and
    > not remove other users..
    >
    > This is a better way in VB Dotnet ?
    >
    >
    

  • Next message: Erik Cruz: "Re: A question about IUSR_<MachineName>"