Allow the WebHID API on these sites
Jump to overview

Policy overview

Key metadata and intent for this policy.

Category
Microsoft Edge > Content settings
Supported on
Microsoft Edge version 100, Windows 7 or later

Supported OS tags: Windows7

Setting the policy lets you list the URL patterns that specify which sites can ask users to grant them access to a HID device. Leaving the policy unset means 'DefaultWebHidGuardSetting' (Control use of the WebHID API) applies for all sites, if set. If not, users' personal settings apply. For URL patterns that don't match the policy, the following values are applied in order of precedence: * 'WebHidBlockedForUrls' (Block the WebHID API on these sites) (if there's a match), * 'DefaultWebHidGuardSetting' (if set), or * Users' personal settings. URL patterns must not conflict with 'WebHidBlockedForUrls'. Neither policy takes precedence if a URL matches both patterns. For detailed information about valid url patterns, see https://go.microsoft.com/fwlink/?linkid=2095322. * isn't an accepted value for this policy. Example value: https://microsoft.com https://chromium.org

Internal name
WebHidAskForUrls
Policy ID
763dd5982184
Elements
1

Registry values

How enabled and disabled states update the registry.

No explicit registry values are set for enabled or disabled states.

Policy elements

Inputs and configuration options exposed by this policy.

ScopeElementTypeRegistry mappingConstraints & behaviorCopy
Allow the WebHID API on these sites
ID WebHidAskForUrlsDesc
list
Path
Software\Policies\Microsoft\Edge\WebHidAskForUrls
Value name
1, 2, …
Type
REG_SZ
List: standard
Allow the WebHID API on these sites
Both · Type list
Registry mapping
Path
Software\Policies\Microsoft\Edge\WebHidAskForUrls
Value name
1, 2, …
Type
REG_SZ
Details
List: standard