security_attributes sa; security_descriptor sd; sa.nLength = sizeof(SECURITY_ATTRIBUTES); sa.bInheritHandle = TRUE; sa.lpSecurityDescriptor = &sd; if(!InitializeSecurityDescriptor(&sd, SECURITY_DESCRIPTOR_REVISION)) return if(!SetSecurityDescriptorDacl(&sd, TRUE, (PACL)NULL, FALSE)) return;
DACL
SecurityDescriptor
Retrieved from http://hyacinth.byus.net/moniwiki/wiki.php/C++/NULL DACL 생성
last modified 2014-10-16 19:20:34