RE: Read file system ACE's using .Net 2.0

From: Rhett Gong [MSFT] (v-raygon_at_online.microsoft.com)
Date: 10/11/05

  • Next message: Joe Kaplan \(MVP - ADSI\): "Re: Read file system ACE's using .Net 2.0"
    Date: Tue, 11 Oct 2005 02:35:34 GMT
    
    

    Hello Bruce,
    I checked .NET 2.0 reference, but did not find any documented classes for basic Security ACE or DACL, so you may have to use Win32 API's to
    get and set file system ACL's. Here is a link for complete .NET2.0 document, I think you might have interest to take a look:
    http://msdn2.microsoft.com/en-us/library/default.aspx

    Besides Win32 Security APIs, WMI provides another way to control ACLs for filesystem objects, you can get reference from:
    [Win32_SecurityDescriptor]
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/win32_securitydescriptor.asp

    WMI exposes 2 namespace for you to use, they are
    [System.Management and System.Management.Instrumentation Namespaces]
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconsystemmanagementandsystemmanagementinstrumentationnamespaces.asp

    For how to use then, please reference topics under:
    [Managing Applications Using WMI]
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconmanagingapplicationsusingwmi.asp

    Hope this helps. And if there is anything more I can help, please feel free to let me know.

    Thanks,
    Rhett Gong [MSFT]
    Microsoft Online Partner Support
    Get Secure! - www.microsoft.com/security
    http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp&SD=msdn

    This posting is provided "AS IS" with no warranties and confers no rights.


  • Next message: Joe Kaplan \(MVP - ADSI\): "Re: Read file system ACE's using .Net 2.0"

    Relevant Pages

    • Re: Good ASM references?
      ... > What books/references would you guys recommend if I would like to ... No Win32 or DOS functions required. ... The tutorial written by Dennis should be useful: ... For more advanced assembly topics and for reference the IA32 Intel ...
      (borland.public.delphi.language.basm)
    • Re: Downloading the platform SDK
      ... >> I too would like the latest copy of the Win32 Programmer's Reference ... I regularly download the platform sdk, ... viewer included ...
      (comp.lang.pascal.delphi.misc)
    • How to Programming SQLite and WINAPI C++
      ... How to programming SQLite databases using ANSIC++ in Win32 not MFC. ... In the site www.sqlite.org, reference only console code, but how is ...
      (microsoft.public.win32.programmer.ui)
    • Re: Borland Trying To Get Away From Native Compilers
      ... zedd wrote: ... I'd be happy to, buddy! ... Here are some reference numbers to look up on this link: ... Some of them also deal with .Net in addition to Win32, ...
      (borland.public.delphi.non-technical)

    Loading