Defining Permissions with ACLs in C++

You can use ACLs to control access to protected resources. Define which clients have access to which resources by creating and modifying the ACLs associated with those resources and by enabling and disabling client privileges.

Modifying the ACLs of an Object in C++ Add or remove an access control entry (ACE) to the discretionary access control list (DACL) of an object.
Creating a Security Descriptor for a New Object in C++ Create a security descriptor for a new object.
Controlling Child Object Creation in C++ Use the DACL of a container object to control who is allowed to create child objects within the container.
Enabling and Disabling Privileges in C++ Allow or disallow a process to perform system-level actions.