ACL Configuration from Assembly
Manipulating the Access Control List from .NET Applications is not a common need. But still based on the Business requirements we may be in a situation to manipulate ACL from .NET Framework applicatio
January 30, 2005
Manipulating the Access Control List from .NET Applications is not a common need. But still based on the Business requirements we may be in a situation to manipulate ACL from .NET Framework applications. ACL manipulation can be implemented by 2 ways. They are
Invoking Command Line tools from Application.
Constructing a Wrapper around Win32 API calls.
Preffered way of configuring the ACLs from within a .NET Framework is to call the Cacls or XCacls command line tool directly.
Analyze the below code sample mentioned below. Using the Process class in the System.Diagonistics namespace.
Read more about:
MicrosoftAbout the Author
You May Also Like