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입니다.

설명

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

적용 대상