The SECURITY_INFORMATION data type identifies the object-related security information being set or queried. This security information includes:
typedef DWORD SECURITY_INFORMATION, *PSECURITY_INFORMATION;
Remarks
Some SECURITY_INFORMATION members work only with the SetNamedSecurityInfo function. These members are not returned in the structure returned by other security functions such as GetNamedSecurityInfo or ConvertStringSecurityDescriptorToSecurityDescriptor.
Each item of security information is designated by a bit flag. Each bit flag can be one of the following values.
| Value | Meaning |
| DACL_SECURITY_INFORMATION | The DACL of the object is being referenced. |
| LABEL_SECURITY_INFORMATION | The mandatory integrity label is being referenced. |
| GROUP_SECURITY_INFORMATION | The primary group identifier of the object is being referenced. |
| OWNER_SECURITY_INFORMATION | The owner identifier of the object is being referenced. |
| PROTECTED_DACL_SECURITY_INFORMATION | The DACL cannot inherit access control entries (ACEs). |
| PROTECTED_SACL_SECURITY_INFORMATION | The SACL cannot inherit ACEs. |
| SACL_SECURITY_INFORMATION | The SACL of the object is being referenced. |
| UNPROTECTED_DACL_SECURITY_INFORMATION | The DACL inherits ACEs from the parent object. |
| UNPROTECTED_SACL_SECURITY_INFORMATION | The SACL inherits ACEs from the parent object. |
Requirements
| Minimum supported client | Windows 2000 Professional |
| Minimum supported server | Windows 2000 Server |
| Header | Winnt.h (include Windows.h) |
See Also
- Access Control
- Basic Access Control Structures
- ConvertStringSecurityDescriptorToSecurityDescriptor
- GetFileSecurity
- GetKernelObjectSecurity
- GetNamedSecurityInfo
- GetPrivateObjectSecurity
- GetUserObjectSecurity
- SetFileSecurity
- SetKernelObjectSecurity
- SetNamedSecurityInfo
- SetPrivateObjectSecurity
- SetUserObjectSecurity
Send comments about this topic to Microsoft
Build date: 9/11/2009