您的位置:首页 > Web前端

INTERNETFEATURELIST

2013-09-27 10:56 423 查看
----------------------------------------------------------------------------------

INTERNETFEATURELIST Enumerated Type

--------------------------------------------------------------------------------

Contains the feature controls for Internet Explorer.

Syntax

typedef enum _tagINTERNETFEATURELIST {

FEATURE_OBJECT_CACHING = 0,

FEATURE_ZONE_ELEVATION = 1,

FEATURE_MIME_HANDLING = 2,

FEATURE_MIME_SNIFFING = 3,

FEATURE_WINDOW_RESTRICTIONS = 4,

FEATURE_WEBOC_POPUPMANAGEMENT = 5,

FEATURE_BEHAVIORS = 6,

FEATURE_DISABLE_MK_PROTOCOL = 7,

FEATURE_LOCALMACHINE_LOCKDOWN = 8,

FEATURE_SECURITYBAND = 9,

FEATURE_RESTRICT_ACTIVEXINSTALL = 10,

FEATURE_VALIDATE_NAVIGATE_URL = 11,

FEATURE_RESTRICT_FILEDOWNLOAD = 12,

FEATURE_ADDON_MANAGEMENT = 13,

FEATURE_PROTOCOL_LOCKDOWN = 14,

FEATURE_HTTP_USERNAME_PASSWORD_DISABLE = 15,

FEATURE_SAFE_BINDTOOBJECT = 16,

FEATURE_UNC_SAVEDFILECHECK = 17,

FEATURE_GET_URL_DOM_FILEPATH_UNENCODED = 18,

FEATURE_ENTRY_COUNT = 19

} INTERNETFEATURELIST;

Constants

FEATURE_OBJECT_CACHING

Block access to objects instantiated and cached in one domain from another domain.

阻止访问来自另一个域,并在这个域中初始化和缓冲的对象

FEATURE_ZONE_ELEVATION

Prevent non-user initiated navigation between a page in one zone to a page in a higher security zone. This feature, when enabled, can be set differently for each security zone by using the URL action flag URLACTION_FEATURE_ZONE_ELEVATION.
禁止在一个域中页到一个更高级安全域中页的非用户启动导航

FEATURE_MIME_HANDLING

Check for consistency between the file name extension, the Content-Type value in the HTTP header, the Content-Disposition in the HTTP header, and the file type detected by an examination of the file's signature bits (also called a Multipurpose Internet Mail
Extensions (MIME) sniff). Files that are found to have inconsistent information in these areas are renamed and moved to the Internet Explorer cache.

FEATURE_MIME_SNIFFING

Allow the process to determine a file's type by examining its bit signature. Internet Explorer uses this information to determine how to render the file. This feature, when enabled, can be set differently for each security zone by using the URL action flag
URLACTION_FEATURE_MIME_SNIFFING.

FEATURE_WINDOW_RESTRICTIONS

Constrain to the viewable desktop area and force to have a status bar. Also, restrict popup windows without chrome in size and position so that they cannot overlay important information on their parent windows and cannot overlay system dialog box information.
This feature, when enabled, can be set differently for each security zone by using the URL action flag URLACTION_FEATURE_WINDOW_RESTRICTIONS.

FEATURE_WEBOC_POPUPMANAGEMENT

Enable applications hosting the WebBrowser Control to receive the default Internet Explorer popup management behavior.

FEATURE_BEHAVIORS

Allow Binary Behaviors to run securely. This feature, when enabled, can be set differently for each security zone by using the URL action flag URLACTION_BEHAVIOR_RUN.

FEATURE_DISABLE_MK_PROTOCOL

Fail resources hosted on the MK: protocol.

FEATURE_LOCALMACHINE_LOCKDOWN

Apply Local Machine Zone security settings to all local content.

FEATURE_SECURITYBAND

Show the default Internet Explorer Information Bar when file download or code installation is restricted.

FEATURE_RESTRICT_ACTIVEXINSTALL

Block Microsoft ActiveX controls on pages that instantiate or prompt for the installation of ActiveX controls or when the control is an update to a control that is not installed. This feature, when enabled, can be set differently for each security zone by using
the URL action flag URLACTION_AUTOMATIC_ACTIVEX_UI.

FEATURE_VALIDATE_NAVIGATE_URL

Block navigation to any page with a badly formed URL.

FEATURE_RESTRICT_FILEDOWNLOAD

Block file downloads that navigate to a resource, that display a file download dialog box, or that are not initiated explicitly by a user action (for example, a mouse click or key press). This feature, when enabled, can be set differently for each security
zone by using the URL action flag URLACTION_AUTOMATIC_DOWNLOAD_UI.

FEATURE_ADDON_MANAGEMENT

Block add-ons disabled by the user or group policy from running or installing.

FEATURE_PROTOCOL_LOCKDOWN

Restrict selected protocols from performing URL actions in particular security zones. A list of restricted protocols is maintained for each zone.

FEATURE_HTTP_USERNAME_PASSWORD_DISABLE

Invalidate URL syntax that may include a username and password (http(s)://username:password@server/).

FEATURE_SAFE_BINDTOOBJECT

Perform additional safety checks when calling IBindHost::MonikerBindToObject to create and initialize ActiveX controls. Specifically, prevent the control from being created if COMPAT_EVIL_DONT_LOAD is in the registry for the control. Also, check the URLACTION_ACTIVEX_OVERRIDE_OBJECT_SAFETY
security setting for the zone of the URL being bound to and determine whether the control can be safely initialized.

Note To avoid the check for specific binds in a process, pass BINDINFO_OPTIONS_SECURITYOPTOUT to BINDINFO.dwOptions when calling IBindStatusCallback::GetBindInfo.

FEATURE_UNC_SAVEDFILECHECK

Evaluate the "saved from url" information for files on a Universal Naming Convention (UNC) share. This feature increases security on UNC paths but at a performance cost.

FEATURE_GET_URL_DOM_FILEPATH_UNENCODED

Return unencoded file paths for files that use the "file://" protocol scheme.

FEATURE_ENTRY_COUNT

The total number of items in this enumeration.

Remarks

The INTERNETFEATURELIST enumeration was introduced in Internet Explorer 6 for Microsoft Windows XP Service Pack 2 (SP2).

Applications that host the WebBrowser Control should use the CoInternetSetFeatureEnabled function to enable or disable each feature control.

Enumerated Type Information

Header and IDL files urlmon.h, urlmon.idl

Minimum availability Internet Explorer 6.0

Minimum operating systems Windows XP SP2
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: