Control use of the WebHID API
- Policy ID
- DefaultWebHidGuardSetting
- Scope
- Computer Configuration, User Configuration
- Supported on
- Microsoft Edge version 100, Windows 7 or later
- Source
- Microsoft Edge Policy Templates (version 155.0.4283.45)
- Category
- Microsoft Edge › Content settings
Description
Setting the policy to 3 lets websites ask for access to HID devices. Setting the policy to 2 denies access to HID devices.
Leaving it unset lets websites ask for access, but users can change this setting.
This policy can be overridden for specific url patterns using the 'WebHidAskForUrls' (Allow the WebHID API on these sites) and 'WebHidBlockedForUrls' (Block the WebHID API on these sites) policies.
Policy options mapping:
* BlockWebHid (2) = Do not allow any site to request access to HID devices via the WebHID API
* AskWebHid (3) = Allow sites to ask the user to grant access to a HID device
Use the preceding information when configuring this policy.
Options
Registry
ComputerHKEY_LOCAL_MACHINE
- DefaultWebHidGuardSettingREG_DWORD
UserHKEY_CURRENT_USER
- DefaultWebHidGuardSettingREG_DWORD