Platform SDK: Active Directory, ADSI, and Directory Services

Controlling Access to Objects and Their Properties

If your application creates objects in the directory, you probably want to control who can access those objects. To do this, you need to work with the object's security descriptor, and more specifically, with the DACL and its list of ACEs.

When an object is created, it receives a security descriptor. For a description of the rules that the system uses to create the DACL for a new object, see How Security Descriptors are Set on New Directory Objects. These rules reveal that there are several things you can do to control the ACEs an object receives at creation time.

In addition, you can modify the DACL of an existing object.

What can you do with these ACEs? The following list enumerates the most important capabilities of ACEs in Active Directory.