Modifica

Condividi tramite


SecurityZone Enum

Definition

Defines the integer values corresponding to security zones used by security policy.

public enum class SecurityZone
public enum SecurityZone
[System.Serializable]
public enum SecurityZone
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public enum SecurityZone
type SecurityZone = 
[<System.Serializable>]
type SecurityZone = 
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type SecurityZone = 
Public Enum SecurityZone
Inheritance
SecurityZone
Attributes

Fields

Name Value Description
NoZone -1

No zone is specified.

MyComputer 0

The local computer zone is an implicit zone used for content that exists on the user's computer.

Intranet 1

The local intranet zone is used for content located on a company's intranet. Because the servers and information would be within a company's firewall, a user or company could assign a higher trust level to the content on the intranet.

Trusted 2

The trusted sites zone is used for content located on Web sites considered more reputable or trustworthy than other sites on the Internet. Users can use this zone to assign a higher trust level to these sites to minimize the number of authentication requests. The URLs of these trusted Web sites need to be mapped into this zone by the user.

Internet 3

The Internet zone is used for the Web sites on the Internet that do not belong to another zone.

Untrusted 4

The restricted sites zone is used for Web sites with content that could cause, or could have caused, problems when downloaded. The URLs of these untrusted Web sites need to be mapped into this zone by the user.

Remarks

To configure zones on Windows, use the Security tab in Internet options.

Applies to