Windows , , . , , , Windows. NTFS (Windows Explorer).
, Create, (security attributes). , , , , , , . SECURITY_ATTRIBUTES Create. NULL SECURITY_ATTRIBUTES ( 6). lpSecurityDescriptor SECURITY_ATTRIBUTES, (security descriptor), , .
SECURITY_ATTRIBUTES 6, .
typedef struct _SECURITY_ATTRIBUTES {
DWORD nLength;
LPVOID lpSecurityDescriptor;
BOOL bInheritHandle;
} SECURITY ATTRIBUTES;
nLength :
sizeof(SECURITY_ATTRIBUTES)
bInheritHandle .
.
:
Windows. , , , .
InitializeSecurityDescriptor :
(Security Identifier, SID) ( , , ).
SID .
(Discretionary Access Control List, DACL) , . "ACL", "D", DACL.
ACL (System ACL, SACL), ACL (audit access ACL).
SetSecurityDescriptorOwner SetSecurityDescriptorGroup SID , " ".
ACL Initialize ACL, SetSecurityDescriptorDacl SetSecurityDescriptorSacl.
(absolute) (self-relative). , . . 15.1.