共用方式為


Internet Feature Controls (I..L)

This article describes feature controls with names that begin with the letter I, J, K, or L. For links to other feature controls, see Feature Controls.

  • IFrame Mailto Threshold
  • Image MIME Type Determination
  • Information Bar Handling
  • Input Prompt Blocking
  • IViewObject Legacy Drawing
  • Legacy Input Model
  • Legacy Compression Support
  • Local Machine Lockdown
  • Local Image Blocking
  • Local Object Blocking
  • Local Script Blocking
  • Related topics

IFrame Mailto Threshold

Windows Internet Explorer 9. For security reasons, Windows Internet Explorer counts the number of requests to the mailto protocol made from an iframe element. When the number of such requests exceeds a certain limit within a certain period of time, additional requests are delayed to limit malicious behavior. The FEATURE_IFRAME_MAILTO_THRESHOLD feature controls these restrictions.

By default, this feature is enabled for Internet Explorer and disabled for applications hosting the WebBrowser Control. To enable this feature by using the registry, add the name of your executable file to the following setting.

HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)
   SOFTWARE
      Microsoft
         Internet Explorer
            Main
               FeatureControl
                  FEATURE_IFRAME_MAILTO_THRESHOLD
                     contoso.exe = (DWORD) 00000001

The feature is enabled when the value is set to (DWORD) 00000001 and disabled when the value is (DWORD) 00000000.

Image MIME Type Determination

By default, Internet Explorer verifies images downloaded from a web server to determine the content type of the image. If the image data cannot be recognized and the web server specifies a MIME type for the image, Internet Explorer displays the image according to the MIME type value when the FEATURE_MIME_TREAT_IMAGE_AS_AUTHORITATIVE feature is enabled. If the feature is disabled, Internet Explorer tries to evaluate unrecognized image data as other MIME types, such as XML and HTML.

By default, this feature is enabled for Internet Explorer and for applications hosting the WebBrowser Control. To disable this feature by using the registry, add the name of your executable file to the following setting.

HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)
   SOFTWARE
      Microsoft
         Internet Explorer
            Main
               FeatureControl
                  FEATURE_MIME_TREAT_IMAGE_AS_AUTHORITATIVE
                     contoso.exe = (DWORD) 00000000

The feature is enabled when the value is set to (DWORD) 00000001 and disabled when the value is (DWORD) 00000000.

Information Bar Handling

The FEATURE_SECURITYBAND feature controls the display of the Internet ExplorerInformation bar. When enabled, the Information bar appears when file download or code installation is restricted.

By default, this feature is enabled for Internet Explorer and for disabled applications hosting the WebBrowser Control. To enable this feature by using the registry, add the name of your executable file to the following setting.

HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)
   SOFTWARE
      Microsoft
         Internet Explorer
            Main
               FeatureControl
                  FEATURE_SECURITYBAND
                     contoso.exe = (DWORD) 00000000

The feature is enabled when the value is set to (DWORD) 00000001 and disabled when the value is (DWORD) 00000000.

Input Prompt Blocking

Windows Internet Explorer 7. When enabled, the FEATURE_BLOCK_INPUT_PROMPTS feature allows the pop-up blocker to block JavaScript input prompts, such as the dialog box displayed by the prompt method of the window object. This helps prevent spoofing attacks.

By default, this feature is enabled for Internet Explorer and for disabled applications hosting the WebBrowser Control. To enable this feature by using the registry, add the name of your executable file to the following setting.

HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)
   SOFTWARE
      Microsoft
         Internet Explorer
            Main
               FeatureControl
                  FEATURE_BLOCK_INPUT_PROMPTS
                     contoso.exe = (DWORD) 00000000

The feature is enabled when the value is set to (DWORD) 00000001 and disabled when the value is (DWORD) 00000000.

IViewObject Legacy Drawing

Internet Explorer 9. By default, the WebBrowser Control uses Microsoft DirectX to render webpages, which might cause problems for applications that use the Draw method to create bitmaps from certain webpages. In Internet Explorer 9, this method returns a bitmap (in a Windows Graphics Device Interface (GDI) wrapper) instead of a GDI metafile representation of the webpage. When the FEATURE_IVIEWOBJECTDRAW_DMLT9_WITH_GDI feature is enabled, the following conditions cause the Draw method to use GDI instead of DirectX to create the resulting representation. The GDI representation will contain text records and vector data, but is not guaranteed to be similar to the same represenation returned in earlier versions of the browser:

By default, this feature is enabled for applications hosting the WebBrowser Control. This feature is ignored by Internet Explorer and Windows Explorer. To enable this feature by using the registry, add the name of your executable file to the following setting.

HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)
   SOFTWARE
      Microsoft
         Internet Explorer
            Main
               FeatureControl
                  FEATURE_IVIEWOBJECTDRAW_DMLT9_WITH_GDI
                     contoso.exe = (DWORD) 00000001

The feature is enabled when the value is set to (DWORD) 00000001 and disabled when the value is (DWORD) 00000000.

Legacy Input Model

Windows 8 introduces a new input model that is different from the Windows 7 input model. In order to provide the broadest compatibility for legacy applications, the WebBrowser Control for Windows 8 emulates the Windows 7 mouse, touch, and pen input model (also known as the legacy input model).

When the legacy input model is in effect, the following conditions are true:

  • Windows pointer messages are not processed by the Trident rendering engine (mshtml.dll).
  • Document Object Model (DOM) pointer and gesture events do not fire.
  • Mouse and touch messages are dispatched according to the Windows 7 input model.
  • Touch selection follows the Windows 7 model ("drag to select") instead of the Windows 8 model ("tap to select").
  • Hardware accelerated panning and zooming is disabled.
  • The Zoom and Pan Cascading Style Sheets (CSS) properties are ignored.

The FEATURE_NINPUT_LEGACYMODE feature control determines whether the legacy input model is enabled. By default, the feature is disabled for Internet Explorer and enabled for applications hosting the WebBrowser Control. To disable this feature by using the registry, add the name of your executable file to the following setting.

HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)
   SOFTWARE
      Microsoft
         Internet Explorer
            Main
               FeatureControl
                  FEATURE_NINPUT_LEGACYMODE
                     contoso.exe = (DWORD) 00000000

The feature is enabled when the value is set to (DWORD) 00000001 and disabled when the value is (DWORD) 00000000.

Legacy Compression Support

Internet Explorer 7 consolidated HTTP compression and data manipulation into a centralized component in order to improve performance and to provide greater consistency between transfer encodings (such as HTTP no-cache headers). For compatibility reasons, the original implementation was left in place. When the FEATURE_DISABLE_LEGACY_COMPRESSION feature is disabled, the original compression implementation is used.

By default, this feature is enabled for Internet Explorer and for applications hosting the WebBrowser Control. To disable this feature by using the registry, add the name of your executable file to the following setting.

HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)
   SOFTWARE
      Microsoft
         Internet Explorer
            Main
               FeatureControl
                  FEATURE_DISABLE_LEGACY_COMPRESSION
                     contoso.exe = (DWORD) 00000000

The feature is enabled when the value is set to (DWORD) 00000001 and disabled when the value is (DWORD) 00000000.

Local Machine Lockdown

When the FEATURE_LOCALMACHINE_LOCKDOWN feature is enabled, Internet Explorer applies security restrictions on content loaded from the user's local machine, which helps prevent malicious behavior involving local files:

  • Scripts, Microsoft ActiveX controls, and binary behaviors are not allowed to run.
  • Object safety settings cannot be overridden.
  • Cross-domain data actions require confirmation from the user.

By default, this feature is enabled for Internet Explorer and disabled for applications hosting the WebBrowser Control. To enable this feature by using the registry, add the name of your executable file to the following setting.

HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)
   SOFTWARE
      Microsoft
         Internet Explorer
            Main
               FeatureControl
                  FEATURE_LOCALMACHINE_LOCKDOWN
                     contoso.exe = (DWORD) 00000001

Note  This feature can be enabled only by using the registry; it cannot be enabled using the CoInternetSetFeatureEnabled function.

 

The feature is enabled when the value is set to (DWORD) 00000001 and disabled when the value is (DWORD) 00000000.

Note  The Mark of the Web (MOTW) allows Internet Explorer to load local content in the Internet zone. For more information, see Mark of the Web.

 

Local Image Blocking

Internet Explorer 7 and later. When enabled, the FEATURE_BLOCK_LMZ_IMG feature allows images stored in the Local Machine zone to be loaded only by webpages loaded from the Local Machine zone or by ebpages hosted by sites in the Trusted Sites list. For more information, see Security and Compatibility in Internet Explorer 7.

By default, this feature is enabled for Internet Explorer and disabled for applications hosting the WebBrowser Control. To enable this feature by using the registry, add the name of your executable file to the following setting.

HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)
   SOFTWARE
      Microsoft
         Internet Explorer
            Main
               FeatureControl
                  FEATURE_BLOCK_LMZ_IMG
                     contoso.exe = (DWORD) 00000001

The feature is enabled when the value is set to (DWORD) 00000001 and disabled when the value is (DWORD) 00000000.

Local Object Blocking

Internet Explorer 7 and later. When enabled, the FEATURE_BLOCK_LMZ_OBJECT feature allows objects stored in the Local Machine zone to be loaded only by webpages loaded from the Local Machine zone or by webpages hosted by sites in the Trusted Sites list. For more information, see Security and Compatibility in Internet Explorer 7.

By default, this feature is enabled for Internet Explorer and disabled for applications hosting the WebBrowser Control. To enable this feature by using the registry, add the name of your executable file to the following setting.

HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)
   SOFTWARE
      Microsoft
         Internet Explorer
            Main
               FeatureControl
                  FEATURE_BLOCK_LMZ_OBJECT
                     contoso.exe = (DWORD) 00000001

The feature is enabled when the value is set to (DWORD) 00000001 and disabled when the value is (DWORD) 00000000.

Local Script Blocking

Internet Explorer 7 and later. When enabled, the FEATURE_BLOCK_LMZ_SCRIPT feature allows scripts stored in the Local Machine zone to be run only in webpages loaded from the Local Machine zone or by webpages hosted by sites in the Trusted Sites list. For more information, see Security and Compatibility in Internet Explorer 7.

By default, this feature is enabled for Internet Explorer and disabled for applications hosting the WebBrowser Control. To enable this feature by using the registry, add the name of your executable file to the following setting.

HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)
   SOFTWARE
      Microsoft
         Internet Explorer
            Main
               FeatureControl
                  FEATURE_BLOCK_LMZ_SCRIPT
                     contoso.exe = (DWORD) 00000001

The feature is enabled when the value is set to (DWORD) 00000001 and disabled when the value is (DWORD) 00000000.

Conceptual

Internet Feature Controls (A)

Internet Feature Controls (B..C)

Internet Feature Controls (D..H)

Internet Feature Controls (M..R)

Internet Feature Controls (S..T)

Internet Feature Controls (U..Y)

Internet Feature Controls (Z)

Obsolete Feature Controls

Feature Control Registry Index