SecurityManager 클래스

정의

주의

Code Access Security is not supported or honored by the runtime.

보안 시스템과 상호 작용하는 클래스에 대한 주 액세스 지점을 제공합니다. 이 클래스는 상속될 수 없습니다.

public ref class SecurityManager abstract sealed
public ref class SecurityManager sealed
public static class SecurityManager
[System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public static class SecurityManager
public sealed class SecurityManager
[System.Runtime.InteropServices.ComVisible(true)]
public static class SecurityManager
type SecurityManager = class
[<System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type SecurityManager = class
[<System.Runtime.InteropServices.ComVisible(true)>]
type SecurityManager = class
Public Class SecurityManager
Public NotInheritable Class SecurityManager
상속
SecurityManager
특성

설명

보안은 보안 정책 구성에 액세스하고 조작하는 메서드를 제공합니다. 의 SecurityManager인스턴스를 만들 수 없습니다.

속성

CheckExecutionRights
사용되지 않습니다.
사용되지 않습니다.

코드에 Execution이 있어야 실행할 수 있는지 여부를 나타내는 값을 가져오거나 설정합니다.

SecurityEnabled
사용되지 않습니다.
사용되지 않습니다.
사용되지 않습니다.
사용되지 않습니다.

보안의 활성화 여부를 나타내는 값을 가져오거나 설정합니다.

메서드

CurrentThreadRequiresSecurityContextCapture()

나중 시점에 현재 스레드의 보안 상태를 다시 만들어야 하는 경우 현재 스레드에서 보안 컨텍스트 캡처를 요구할지 여부를 결정합니다.

GetStandardSandbox(Evidence)

제공된 증명 정보가 있는 애플리케이션에 부여하는 데 안전한 권한 집합을 가져옵니다.

GetZoneAndOrigin(ArrayList, ArrayList)

현재 어셈블리에 부여된 영역 ID 및 URL ID 권한 집합을 가져옵니다.

IsGranted(IPermission)
사용되지 않습니다.
사용되지 않습니다.

호출자에 사용 권한을 부여했는지 여부를 확인합니다.

LoadPolicyLevelFromFile(String, PolicyLevelType)
사용되지 않습니다.
사용되지 않습니다.

지정된 파일에서 PolicyLevel을 로드합니다.

LoadPolicyLevelFromString(String, PolicyLevelType)
사용되지 않습니다.
사용되지 않습니다.

지정된 문자열에서 PolicyLevel을 로드합니다.

PolicyHierarchy()
사용되지 않습니다.
사용되지 않습니다.

컴퓨터 정책 및 사용자 정책과 같은 보안 정책 계층 구조에 수준별로 액세스하기 위한 열거자를 제공합니다.

ResolvePolicy(Evidence)
사용되지 않습니다.
사용되지 않습니다.

지정한 증명 정보에 따라 코드에 부여할 권한을 결정합니다.

ResolvePolicy(Evidence, PermissionSet, PermissionSet, PermissionSet, PermissionSet)
사용되지 않습니다.
사용되지 않습니다.

지정한 증명 정보 및 요청에 따라 코드에 부여할 권한을 결정합니다.

ResolvePolicy(Evidence[])
사용되지 않습니다.
사용되지 않습니다.

지정한 증명 정보에 따라 코드에 부여할 권한을 결정합니다.

ResolvePolicyGroups(Evidence)
사용되지 않습니다.
사용되지 않습니다.

지정한 증명 정보와 일치하는 코드 그룹의 컬렉션을 가져옵니다.

ResolveSystemPolicy(Evidence)
사용되지 않습니다.
사용되지 않습니다.

AppDomain 수준의 정책을 제외하고 지정한 증명 정보에 따라 코드에 부여할 권한을 결정합니다.

SavePolicy()
사용되지 않습니다.
사용되지 않습니다.

수정된 보안 정책 상태를 저장합니다.

SavePolicyLevel(PolicyLevel)
사용되지 않습니다.
사용되지 않습니다.

LoadPolicyLevelFromFile(String, PolicyLevelType)을 사용하여 로드된 수정된 보안 정책 수준을 저장합니다.

적용 대상