CoreWebView2OriginFeature Enum
Definition
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.
Specifies the feature types that can be configured for origins.
public enum CoreWebView2OriginFeature
type CoreWebView2OriginFeature =
Public Enum CoreWebView2OriginFeature
- Inheritance
-
CoreWebView2OriginFeature
Fields
| Name | Value | Description |
|---|---|---|
| EnhancedSecurityMode | 0 | Specifies enhanced security mode settings for the origin. Enhanced Security Mode provides additional protections by disabling or restricting certain web platform features that may pose security risks, such as JIT compilation, certain JavaScript APIs, and other potentially dangerous capabilities. This feature is particularly useful for protecting against zero-day exploits and reducing attack surface. When enabled for an origin, that origin will have Enhanced Security Mode applied; when disabled, normal security mode is used. Enhanced security mode can be configured globally via EnhancedSecurityModeLevel API on profile. If Enhanced Security Mode is not configured for an origin, the global profile setting will apply.
|