На главную

On-line справка по Win32 API

Написать письмо
БЕСПЛАТНАЯ ежедневная online лотерея! Выигрывай каждый день БЕСПЛАТНО!
Список всех статей A-B-C-D-E-F-G-H-I-J-K-L-M-N-O-P-Q-R-S-T-U-V-W-X-Y-Z | Скачать Вниз

SECURITY_DESCRIPTOR_CONTROL



The SECURITY_DESCRIPTOR_CONTROL structure contains a set of bit flags that qualify the meaning of a security descriptor or its individual members.

typedef WORD SECURITY_DESCRIPTOR_CONTROL;


Each security descriptor has an associated SECURITY_DESCRIPTOR_CONTROL structure. Applications can use the Win32 API functions to set and retrieve a security descriptor's SECURITY_DESCRIPTOR_CONTROL values. These functions are listed in the See Also section.
The following constants are defined for setting and retrieving SECURITY_DESCRIPTOR_CONTROL bit flags:

Value Meaning
SE_OWNER_DEFAULTED Instead of the original provider of the security descriptor, a default mechanism provided the security descriptor's owner security identifier (SID). This can affect the treatment of the SID with respect to inheritance of an owner. This flag is ignored if the owner member is NULL. The SetSecurityDescriptorOwner function sets this flag.
SE_GROUP_DEFAULTED Instead of the the original provider of the security descriptor, a default mechanism provided the security descriptor's group SID. This can affect the treatment of the SID with respect to inheritance of a primary group. This flag is ignored if the group member is NULL. The SetSecurityDescriptorGroup function sets this flag.
SE_DACL_PRESENT The security descriptor contains a discretionary access-control list (ACL). If this flag is set and the discretionary ACL is NULL, an empty ACL is being explicitly specified. An empty ACL has a size but no access-control entries (ACEs). A NULL ACL has no pointer to an ACL. This flag allows functions to determine whether a security descriptor points to a NULL ACL or no ACL at all. The SetSecurityDescriptorDacl function sets this flag.
SE_DACL_DEFAULTED Instead of the the original provider of the security descriptor, a default mechanism provided the discretionary ACL. This can affect the treatment of the ACL with respect to inheritance of an ACL. If the SE_DACL_PRESENT flag is not set, this flag is ignored. The SetSecurityDescriptorDacl function sets this flag.
SE_SACL_PRESENT The security descriptor contains a system ACL. If this flag is set and the Sacl member is NULL, an empty ACL is being explicitly specified. This flag allows functions to determine whether a security descriptor points to a NULL ACL or no ACL at all. The SetSecurityDescriptorSacl function sets this flag.
SE_SACL_DEFAULTED Instead of the the original provider of the security descriptor, a default mechanism provided the ACL. This can affect the treatment of the ACL with respect to inheritance of an ACL. If the SE_SACL_PRESENT flag is not set, this flag is ignored. The SetSecurityDescriptorSacl function sets this flag.
SE_SELF_RELATIVE The security descriptor is in self-relative form and all members of the security descriptor are contiguous in memory. All pointer members are expressed as offsets from the beginning of the security descriptor. This form is useful for treating security descriptors as opaque structures for transmission in a communications protocol or for storage on secondary media.


See Also

GetSecurityDescriptorControl, GetSecurityDescriptorDacl, GetSecurityDescriptorGroup, GetSecurityDescriptorOwner, GetSecurityDescriptorSacl, SetSecurityDescriptorDacl, SetSecurityDescriptorGroup, SetSecurityDescriptorOwner, SetSecurityDescriptorSacl


Пригласи друзей и счет твоего мобильника всегда будет положительным!
Предыдущая статья
 
Сайт Народ.Ру Интернет
Следующая статья
Пригласи друзей и счет твоего мобильника всегда будет положительным!

SECURITY_DESCRIPTOR_CONTROL



Структура SECURITY_DESCRIPTOR_CONTROL содержит набор битовых флагов, которые квалифицируют значение дескриптора безопасности или индивидуальных участников.

typedef WORD SECURITY_DESCRIPTOR_CONTROL;


Каждый дескриптор безопасности имеет связанную структуру SECURITY_DESCRIPTOR_CONTROL. Приложения могут использовать функции Win32 API, чтобы устанавливать и извлекать дескриптор безопасности SECURITY_DESCRIPTOR_CONTROL величин. Эти функции указаны в Также секции See.
Следующие константы определены для установки и битовых флагов поиска SECURITY_DESCRIPTOR_CONTROL:

Значение Величины
SE_OWNER_DEFAULTED Вместо оригинального поставщика дескриптора безопасности, встроенный механизм предусматривал безопасность владельца дескриптора идентификатора безопасности (SID). Это может повлиять на обработку SID что касается наследства владельца. Этот флаг проигнорирован если член владельца НЕДЕЙСТВИТЕЛЕН. Функция SetSecurityDescriptorOwner устанавливает этот флаг.
SE_GROUP_DEFAULTED Вместо оригинального поставщика дескриптора безопасности, встроенный механизм предусматривал группу дескриптора безопасности SID. Это может повлиять на обработку SID что касается наследства первичной группы. Этот флаг проигнорирован если групповой член НЕДЕЙСТВИТЕЛЕН. Функция SetSecurityDescriptorGroup устанавливает этот флаг.
SE_DACL_PRESENT дескриптор безопасности содержит дискреционный иметь доступ к-управляющему списку (ACL). Если этот флаг установлен и дискреционный ACL НЕДЕЙСТВИТЕЛЕН, пустой ACL явно определяется. Пустой ACL не имеет размер но никакое иметь доступ к-управляющим данным (ПЕР.ТОКИ). НЕДЕЙСТВИТЕЛЬНЫЙ ACL не имеет указатель на ACL. Этот флаг позволяет, чтобы определять указывает дескриптор безопасности на НЕДЕЙСТВИТЕЛЬНЫЙ ACL или никакой ACL совсем. Функция SetSecurityDescriptorDacl устанавливает этот флаг.
SE_DACL_DEFAULTED Вместо оригинального поставщика дескриптора безопасности, встроенный механизм предусматривал дискреционный ACL. Это может повлиять на обработку ACL что касается наследства ACL. Если флаг SE_DACL_PRESENT не установлен, этот флаг проигнорирован. Функция SetSecurityDescriptorDacl устанавливает этот флаг.
SE_SACL_PRESENT дескриптор безопасности содержит систему ACL. Если этот флаг установлен и член Sacl НЕДЕЙСТВИТЕЛЕН, пустой ACL явно определяется. Этот флаг позволяет, чтобы определять указывает дескриптор безопасности на НЕДЕЙСТВИТЕЛЬНЫЙ ACL или никакой ACL совсем. Функция SetSecurityDescriptorSacl устанавливает этот флаг.
SE_SACL_DEFAULTED Вместо оригинального поставщика дескриптора безопасности, встроенный механизм предусматривал ACL. Это может повлиять на обработку ACL что касается наследства ACL. Если флаг SE_SACL_PRESENT не установлен, этот флаг проигнорирован. Функция SetSecurityDescriptorSacl устанавливает этот флаг.
SE_SELF_RELATIVE дескриптор безопасности - в относительной форме и все участники дескриптора безопасности непрерывные в памяти. Все участники указателя выражены как компенсация из начала дескриптора безопасности. Эта форма полезная для рассматривать дескрипторов безопасности как непрозрачных структур для передачи в протоколе связи или для хранения на второстепенном носителе.


Смотри Также

GetSecurityDescriptorControl, GetSecurityDescriptorDacl, GetSecurityDescriptorGroup, GetSecurityDescriptorOwner, GetSecurityDescriptorSacl, SetSecurityDescriptorDacl, SetSecurityDescriptorGroup, SetSecurityDescriptorOwner, SetSecurityDescriptorSacl


Вверх Version 1.3, Oct 26 2010 © 2007, 2010, mrhx Вверх
 mrhx software  Русский перевод OpenGL  Русский перевод Win32 API
 
Используются технологии uCoz