Policy
Allow the WebHID API on these sites
Microsoft Edge
Policy overview
Key metadata and intent for this policy.
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
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.
| Scope | Element | Type | Registry mapping | Constraints & behavior | Copy |
|---|---|---|---|---|---|
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 |