Folder Security (ACL)

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Arran Pearce

    #1

    Folder Security (ACL)

    What's the best way to set and read ACL's on files and folders using C#?



    At the moment I am using System.Diagnost ics.Process to run cacls.exe however
    this is proving unreliable and does not meet all of my needs.



    thanks for any suggestions.


    Arran


  • news.microsoft.com

    #2
    Re: Folder Security (ACL)

    Wrap the native APIs

    "Arran Pearce" <arran.pearce@b acoll.ac.uk> wrote in message
    news:uWKy2LxmDH A.360@TK2MSFTNG P12.phx.gbl...[color=blue]
    > What's the best way to set and read ACL's on files and folders using C#?
    >
    >
    >
    > At the moment I am using System.Diagnost ics.Process to run cacls.exe[/color]
    however[color=blue]
    > this is proving unreliable and does not meet all of my needs.
    >
    >
    >
    > thanks for any suggestions.
    >
    >
    > Arran
    >
    >[/color]


    Comment

    • Pieter Philippaerts

      #3
      Re: Folder Security (ACL)

      "Arran Pearce" <arran.pearce@b acoll.ac.uk> wrote in message[color=blue]
      > What's the best way to set and read ACL's on files and folders using C#?[/color]

      This may be what you're looking for:


      Regards,
      Pieter Philippaerts
      Managed SSL/TLS: http://www.mentalis.org/go.php?sl


      Comment

      Working...