WebBrowserPermissionLevel 열거형

정의

주의

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

웹 브라우저에 대한 사용 권한 수준을 지정합니다.

public enum class WebBrowserPermissionLevel
public enum WebBrowserPermissionLevel
[System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public enum WebBrowserPermissionLevel
type WebBrowserPermissionLevel = 
[<System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type WebBrowserPermissionLevel = 
Public Enum WebBrowserPermissionLevel
상속
WebBrowserPermissionLevel
특성

필드

None 0

프레임에서 HTML을 탐색할 수 없는 웹 브라우저입니다.

Safe 1

프레임에서 안전하게 HTML을 탐색할 수 있지만 몇 가지 제한이 적용되는 웹 브라우저입니다.

Unrestricted 2

제한 없이 탐색할 수 있는 웹 브라우저입니다.

예제

다음 예제에서는 호출 코드에서 웹 브라우저 컨트롤을 만들 수 있는 권한이 아무런 제한 없이 요구 하는 방법을 보여 줍니다.

[WebBrowserPermissionAttribute(SecurityAction.Demand, Level = WebBrowserPermissionLevel.Unrestricted)]
<WebBrowserPermissionAttribute(SecurityAction.Demand, Level:=WebBrowserPermissionLevel.Unrestricted)>
Public Sub Method03()
End Sub

설명

이 열거형을 사용 하 여 설정 합니다 Level 의 속성을 WebBrowserPermission 클래스입니다.

Safe 권한 수준이 다음 웹 브라우저 작업을 제한합니다.

  • 웹 브라우저 컨트롤을 통해 팝업 창을 만들 수 없습니다.

  • 웹 브라우저 컨트롤 원본 사이트에만 탐색할 수 있습니다.

  • 웹 브라우저 컨트롤의 보안 설정은 줄어듭니다.

적용 대상