SecurityZone Enum
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Attributes
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. |
To configure zones on Windows, use the Security tab in Internet options.
Product | Versions |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: