URL Security Zones Reference
The URL security zones API enables developers to manage URL security zones and create custom URL security zone managers.
This section contains reference articles that are available for URL security zones.
Objects
Topic | Contents |
---|---|
Internet Security Manager | The Internet Security Manager is an object that manages security in Windows Internet Explorer and WebBrowser applications by determining in which security zone a particular URL belongs and which actions Web pages in that zone can perform. |
Internet Zone Manager | The Internet Zone Manager is an object that manages zones. |
Persistent Zone Identifier | The Persistent Zone Identifier object enables access to zone information that is persisted with local files. The Attachment Execution Services (see IAttachmentExecute) set the zone information, which the Internet Security Manager Object (see IInternetSecurityManager) consumes. Use IPersistFile to attach the object to the target file and IZoneIdentifier to examine or to manipulate the zone ID. |
Interfaces
Topic | Contents |
---|---|
IInternetHostSecurityManager | Provides methods for components to use to manage security. |
IInternetSecurityManager | Enables client applications to determine the security of the browser components. |
IInternetSecurityManagerEx | Extends the IInternetSecurityManager interface. |
IInternetSecurityManagerEx2 | Exposes methods that enable client applications to determine the security of the browser components. |
IInternetSecurityMgrSite | Exposes methods that enable components to manage the user interface of the security manager. |
IInternetZoneManager | Exposes methods that are used by a host to control the security zone infrastructure. |
IInternetZoneManagerEx | Extends the IInternetZoneManager interface. |
IInternetZoneManagerEx2 | Extends the IInternetZoneManagerEx interface. |
IZoneIdentifier | Provides methods for getting and setting the security zone for a file. |
IZoneIdentifier2 | Provides methods for including metadata about which Store app was the last to write to a file, as well as a hint provided by the app as to what the trust level should be. |
Functions
Topic | Contents |
---|---|
CoInternetCreateSecurityManager | Creates an IInternetSecurityManager interface. |
CoInternetCreateZoneManager | Creates an IInternetZoneManager interface. |
CoInternetGetSecurityUrl | Gets the security URL for the specified URL. |
CoInternetGetSecurityUrlEx | Gets the security URL for the Uniform Resource Identifier (URI) in the specified IUri. |
CoInternetIsFeatureEnabled | Determines whether the specified feature control is enabled. |
CoInternetIsFeatureEnabledForIUri | Determines whether the specified feature control is enabled for the security zone of the specified IUri. |
CoInternetIsFeatureEnabledForUrl | Determines whether the specified feature control is enabled for the security zone of the specified URL. |
CoInternetIsFeatureZoneElevationEnabled | Determines the URL policy for URLACTION_FEATURE_ZONE_ELEVATION for the specified URL. When the policy is URLPOLICY_QUERY, this function displays a dialog that allows the user to decide whether to allow the zone elevation. |
CoInternetSetFeatureEnabled | Enables or disables a specified feature control. |
Structures
Topic | Contents |
---|---|
ZONEATTRIBUTES | Contains the attributes of a particular zone. |
Enumerations
Topic | Contents |
---|---|
INTERNETFEATURELIST | Contains the Feature Controls for Internet Explorer. |
PSUACTION | Contains the flags passed into the CoInternetGetSecurityUrl function. |
PUAF | Contains the flags passed into the IInternetSecurityManager::ProcessUrlAction method. |
PUAFOUT | Contains the flags passed out of the IInternetSecurityManagerEx::ProcessUrlActionEx method. |
SZM_FLAGS | Contains the flag values used for creating and enumerating security zone mappings. |
URLTEMPLATE | Contains the security level templates. |
URLZONE | Contains all the predefined zones used by Internet Explorer. |
URLZONEREG | Contains the registry location values. |
ZAFLAGS | Contains the zone attribute flags. |
Constants
Topic | Contents |
---|---|
MapUrlToZone Flags | Values that control the action of IInternetSecurityManager::MapUrlToZone and IInternetSecurityManagerEx2::MapUrlToZoneEx2. |
URL Action Flags | The following list contains values associated with the actions that can be taken in a URL security zone. The possible URL policy values for each of the listed URL action flags can be found in About URL Security Zones. |
URL Policy Flags | The following list contains the values associated with the policies used with the URL action flags. |