SECURITY_DESCRIPTOR 구조체(winnt.h)

SECURITY_DESCRIPTOR 구조에는 개체와 연결된 보안 정보가 포함됩니다. 애플리케이션은 이 구조를 사용하여 개체의 보안 상태 설정하고 쿼리합니다.

보안 설명자의 내부 형식은 다를 수 있으므로 애플리케이션에서 SECURITY_DESCRIPTOR 구조를 직접 수정하지 않는 것이 좋습니다. 보안 설명자를 만들고 조작하려면 참고 항목에 나열된 함수를 사용합니다.

구문

typedef struct _SECURITY_DESCRIPTOR {
  BYTE                        Revision;
  BYTE                        Sbz1;
  SECURITY_DESCRIPTOR_CONTROL Control;
  PSID                        Owner;
  PSID                        Group;
  PACL                        Sacl;
  PACL                        Dacl;
} SECURITY_DESCRIPTOR, *PISECURITY_DESCRIPTOR;

멤버

Revision

Sbz1

Control

Owner

Group

Sacl

Dacl

설명

보안 설명자에는 개체 보안의 다음 구성 요소를 지정하는 정보가 포함됩니다.

SECURITY_DESCRIPTOR 구조를 사용하는 여러 함수에서는 이 구조체를 메모리의 유효한 포인터 경계에 맞춰야 합니다. 이러한 경계는 사용되는 프로세서 유형에 따라 달라집니다. mallocLocalAlloc과 같은 메모리 할당 함수는 올바르게 정렬된 포인터를 반환합니다.

요구 사항

요구 사항
지원되는 최소 클라이언트 Windows XP [데스크톱 앱 | UWP 앱]
지원되는 최소 서버 Windows Server 2003 [데스크톱 앱 | UWP 앱]
머리글 winnt.h(Windows.h 포함)

추가 정보

GetSecurityDescriptorControl

GetSecurityDescriptorDacl

GetSecurityDescriptorGroup

GetSecurityDescriptorLength

GetSecurityDescriptorOwner

GetSecurityDescriptorRMControl

GetSecurityDescriptorSacl

InitializeSecurityDescriptor

IsValidSecurityDescriptor

SetSecurityDescriptorDacl

SetSecurityDescriptorGroup

SetSecurityDescriptorOwner

SetSecurityDescriptorRMControl

SetSecurityDescriptorSacl