CommonSecurityDescriptor 생성자

정의

CommonSecurityDescriptor 클래스의 새 인스턴스를 초기화합니다.

오버로드

Name Description
CommonSecurityDescriptor(Boolean, Boolean, RawSecurityDescriptor)

지정된 CommonSecurityDescriptor 개체에서 클래스의 RawSecurityDescriptor 새 인스턴스를 초기화합니다.

CommonSecurityDescriptor(Boolean, Boolean, String)

지정된 SDDL(Security Descriptor Definition Language) 문자열에서 클래스의 CommonSecurityDescriptor 새 인스턴스를 초기화합니다.

CommonSecurityDescriptor(Boolean, Boolean, Byte[], Int32)

지정된 바이트 값 배열에서 클래스의 새 인스턴스 CommonSecurityDescriptor 를 초기화합니다.

CommonSecurityDescriptor(Boolean, Boolean, ControlFlags, SecurityIdentifier, SecurityIdentifier, SystemAcl, DiscretionaryAcl)

지정된 정보에서 클래스의 CommonSecurityDescriptor 새 인스턴스를 초기화합니다.

CommonSecurityDescriptor(Boolean, Boolean, RawSecurityDescriptor)

Source:
SecurityDescriptor.cs

지정된 CommonSecurityDescriptor 개체에서 클래스의 RawSecurityDescriptor 새 인스턴스를 초기화합니다.

public:
 CommonSecurityDescriptor(bool isContainer, bool isDS, System::Security::AccessControl::RawSecurityDescriptor ^ rawSecurityDescriptor);
public CommonSecurityDescriptor(bool isContainer, bool isDS, System.Security.AccessControl.RawSecurityDescriptor rawSecurityDescriptor);
new System.Security.AccessControl.CommonSecurityDescriptor : bool * bool * System.Security.AccessControl.RawSecurityDescriptor -> System.Security.AccessControl.CommonSecurityDescriptor
Public Sub New (isContainer As Boolean, isDS As Boolean, rawSecurityDescriptor As RawSecurityDescriptor)

매개 변수

isContainer
Boolean

true 새 보안 설명자가 컨테이너 개체와 연결되어 있으면 입니다.

isDS
Boolean

true 새 보안 설명자가 디렉터리 개체와 연결되어 있으면 입니다.

rawSecurityDescriptor
RawSecurityDescriptor

RawSecurityDescriptorCommonSecurityDescriptor 개체를 만들 개체입니다.

설명

RawSecurityDescriptor 개체가 만들어지는 기본 보안 설명자에 DACL(임의 액세스 제어 목록)이 포함된 null 경우 AEFA(모든 사용자 전체 액세스)를 허용하는 ACE(단일 액세스 제어 항목)가 DACL에 추가됩니다. 애플리케이션에서 AEFA ACE가 추가된 보안 설명자의 DACL을 수정하는 경우 해당 DACL이 유지되면 AEFA ACE가 DACL과 함께 유지됩니다.

이로 인해 애플리케이션이 의도치 않게 보안 주체에 대한 액세스를 허용할 수 있습니다. 이 때문에 애플리케이션은 AEFA ACE가 있는지 확인하고 보안 설명자를 수정하기 전에 제거해야 합니다.

적용 대상

CommonSecurityDescriptor(Boolean, Boolean, String)

Source:
SecurityDescriptor.cs

지정된 SDDL(Security Descriptor Definition Language) 문자열에서 클래스의 CommonSecurityDescriptor 새 인스턴스를 초기화합니다.

public:
 CommonSecurityDescriptor(bool isContainer, bool isDS, System::String ^ sddlForm);
public CommonSecurityDescriptor(bool isContainer, bool isDS, string sddlForm);
new System.Security.AccessControl.CommonSecurityDescriptor : bool * bool * string -> System.Security.AccessControl.CommonSecurityDescriptor
Public Sub New (isContainer As Boolean, isDS As Boolean, sddlForm As String)

매개 변수

isContainer
Boolean

true 새 보안 설명자가 컨테이너 개체와 연결되어 있으면 입니다.

isDS
Boolean

true 새 보안 설명자가 디렉터리 개체와 연결되어 있으면 입니다.

sddlForm
String

CommonSecurityDescriptor 개체를 만들 SDDL 문자열입니다.

설명

RawSecurityDescriptor 개체가 만들어지는 기본 보안 설명자에 DACL(임의 액세스 제어 목록)이 포함된 null 경우 AEFA(모든 사용자 전체 액세스)를 허용하는 ACE(단일 액세스 제어 항목)가 DACL에 추가됩니다. 애플리케이션에서 AEFA ACE가 추가된 보안 설명자의 DACL을 수정하는 경우 해당 DACL이 유지되면 AEFA ACE가 DACL과 함께 유지됩니다.

이로 인해 애플리케이션이 의도치 않게 보안 주체에 대한 액세스를 허용할 수 있습니다. 이 때문에 애플리케이션은 AEFA ACE가 있는지 확인하고 보안 설명자를 수정하기 전에 제거해야 합니다.

적용 대상

CommonSecurityDescriptor(Boolean, Boolean, Byte[], Int32)

Source:
SecurityDescriptor.cs

지정된 바이트 값 배열에서 클래스의 새 인스턴스 CommonSecurityDescriptor 를 초기화합니다.

public:
 CommonSecurityDescriptor(bool isContainer, bool isDS, cli::array <System::Byte> ^ binaryForm, int offset);
public CommonSecurityDescriptor(bool isContainer, bool isDS, byte[] binaryForm, int offset);
new System.Security.AccessControl.CommonSecurityDescriptor : bool * bool * byte[] * int -> System.Security.AccessControl.CommonSecurityDescriptor
Public Sub New (isContainer As Boolean, isDS As Boolean, binaryForm As Byte(), offset As Integer)

매개 변수

isContainer
Boolean

true 새 보안 설명자가 컨테이너 개체와 연결되어 있으면 입니다.

isDS
Boolean

true 새 보안 설명자가 디렉터리 개체와 연결되어 있으면 입니다.

binaryForm
Byte[]

CommonSecurityDescriptor 개체를 만들 바이트 값의 배열입니다.

offset
Int32

복사를 시작할 배열의 binaryForm 오프셋입니다.

설명

RawSecurityDescriptor 개체가 만들어지는 기본 보안 설명자에 DACL(임의 액세스 제어 목록)이 포함된 null 경우 AEFA(모든 사용자 전체 액세스)를 허용하는 ACE(단일 액세스 제어 항목)가 DACL에 추가됩니다. 애플리케이션에서 AEFA ACE가 추가된 보안 설명자의 DACL을 수정하는 경우 해당 DACL이 유지되면 AEFA ACE가 DACL과 함께 유지됩니다.

이로 인해 애플리케이션이 의도치 않게 보안 주체에 대한 액세스를 허용할 수 있습니다. 이 때문에 애플리케이션은 AEFA ACE가 있는지 확인하고 보안 설명자를 수정하기 전에 제거해야 합니다.

적용 대상

CommonSecurityDescriptor(Boolean, Boolean, ControlFlags, SecurityIdentifier, SecurityIdentifier, SystemAcl, DiscretionaryAcl)

Source:
SecurityDescriptor.cs

지정된 정보에서 클래스의 CommonSecurityDescriptor 새 인스턴스를 초기화합니다.

public:
 CommonSecurityDescriptor(bool isContainer, bool isDS, System::Security::AccessControl::ControlFlags flags, System::Security::Principal::SecurityIdentifier ^ owner, System::Security::Principal::SecurityIdentifier ^ group, System::Security::AccessControl::SystemAcl ^ systemAcl, System::Security::AccessControl::DiscretionaryAcl ^ discretionaryAcl);
public CommonSecurityDescriptor(bool isContainer, bool isDS, System.Security.AccessControl.ControlFlags flags, System.Security.Principal.SecurityIdentifier? owner, System.Security.Principal.SecurityIdentifier? group, System.Security.AccessControl.SystemAcl? systemAcl, System.Security.AccessControl.DiscretionaryAcl? discretionaryAcl);
public CommonSecurityDescriptor(bool isContainer, bool isDS, System.Security.AccessControl.ControlFlags flags, System.Security.Principal.SecurityIdentifier owner, System.Security.Principal.SecurityIdentifier group, System.Security.AccessControl.SystemAcl systemAcl, System.Security.AccessControl.DiscretionaryAcl discretionaryAcl);
new System.Security.AccessControl.CommonSecurityDescriptor : bool * bool * System.Security.AccessControl.ControlFlags * System.Security.Principal.SecurityIdentifier * System.Security.Principal.SecurityIdentifier * System.Security.AccessControl.SystemAcl * System.Security.AccessControl.DiscretionaryAcl -> System.Security.AccessControl.CommonSecurityDescriptor
Public Sub New (isContainer As Boolean, isDS As Boolean, flags As ControlFlags, owner As SecurityIdentifier, group As SecurityIdentifier, systemAcl As SystemAcl, discretionaryAcl As DiscretionaryAcl)

매개 변수

isContainer
Boolean

true 새 보안 설명자가 컨테이너 개체와 연결되어 있으면 입니다.

isDS
Boolean

true 새 보안 설명자가 디렉터리 개체와 연결되어 있으면 입니다.

flags
ControlFlags

CommonSecurityDescriptor 개체의 동작을 지정하는 플래그입니다.

owner
SecurityIdentifier

CommonSecurityDescriptor 개체의 소유자입니다.

group
SecurityIdentifier

CommonSecurityDescriptor 개체의 기본 그룹입니다.

systemAcl
SystemAcl

CommonSecurityDescriptor 개체에 대한 SACL(시스템 Access Control 목록)입니다.

discretionaryAcl
DiscretionaryAcl

CommonSecurityDescriptor 개체에 대한 DACL(임의 Access Control 목록)입니다.

설명

RawSecurityDescriptor 개체가 만들어지는 기본 보안 설명자에 DACL(임의 액세스 제어 목록)이 포함된 null 경우 AEFA(모든 사용자 전체 액세스)를 허용하는 ACE(단일 액세스 제어 항목)가 DACL에 추가됩니다. 애플리케이션에서 AEFA ACE가 추가된 보안 설명자의 DACL을 수정하는 경우 해당 DACL이 유지되면 AEFA ACE가 DACL과 함께 유지됩니다.

이로 인해 애플리케이션이 의도치 않게 보안 주체에 대한 액세스를 허용할 수 있습니다. 이 때문에 애플리케이션은 AEFA ACE가 있는지 확인하고 보안 설명자를 수정하기 전에 제거해야 합니다.

적용 대상