CommonObjectSecurity.RemoveAccessRuleAll(AccessRule) 메서드

정의

CommonObjectSecurity 개체와 연결된 DACL(임의 액세스 제어 목록)에서 지정된 액세스 규칙과 동일한 보안 식별자가 있는 모든 액세스 규칙을 제거합니다.

protected:
 void RemoveAccessRuleAll(System::Security::AccessControl::AccessRule ^ rule);
protected void RemoveAccessRuleAll(System.Security.AccessControl.AccessRule rule);
member this.RemoveAccessRuleAll : System.Security.AccessControl.AccessRule -> unit
Protected Sub RemoveAccessRuleAll (rule As AccessRule)

매개 변수

rule
AccessRule

제거할 액세스 규칙입니다.

설명

의도치 않게 보안 주체에 대한 액세스를 허용하지 않도록 하려면 애플리케이션에서 AEFA(모든 사용자 전체 액세스) ACE(액세스 제어 항목)가 있는지 확인하고 DACL을 수정하기 전에 제거해야 합니다.

적용 대상