Computer Configuration > Administrative Templates > Microsoft Edge > Content settings
Both
HKLM\Software\Policies\Microsoft\Edge
Setting the policy lets you list the URL patterns that specify which sites can't 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 it's 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: * 'WebHidAskForUrls' (Allow the WebHID API on these sites) (if there is a match), * 'DefaultWebHidGuardSetting' (if set), or * Users' personal settings. URL patterns can't conflict with 'WebHidAskForUrls'. 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. * is not an accepted value for this policy. Example value: https://microsoft.com https://chromium.org