DpapiDataProtector.Scope 속성

정의

데이터 보호의 범위를 가져오거나 설정합니다.

public:
 property System::Security::Cryptography::DataProtectionScope Scope { System::Security::Cryptography::DataProtectionScope get(); void set(System::Security::Cryptography::DataProtectionScope value); };
public System.Security.Cryptography.DataProtectionScope Scope { get; set; }
member this.Scope : System.Security.Cryptography.DataProtectionScope with get, set
Public Property Scope As DataProtectionScope

속성 값

데이터 보호의 범위(현재 사용자 또는 로컬 컴퓨터)를 지정하는 열거형 값 중 하나입니다. 기본값은 CurrentUser입니다.

설명

데이터 보호는 다른 프로그램에서 읽을 수 없도록 디스크의 데이터를 암호화합니다. 데이터를 보호하거나 보호 해제하는 데 키가 필요하지 않습니다. 로 Scope설정 CurrentUser 하면 자격 증명에서 실행되는 애플리케이션만 데이터를 보호 해제할 수 있지만, 이는 자격 증명에서 실행되는 모든 애플리케이션이 보호된 데이터에 액세스할 수 있음을 의미합니다. 설정Scope하면 컴퓨터의 LocalMachine 모든 완전 신뢰 애플리케이션이 애플리케이션 이름, 기본 목적 및 특정 용도를 알고 있는 경우 데이터를 보호 해제, 액세스 및 수정할 수 있습니다.

적용 대상