Open in the explorer

Automatically grant permission to these sites to connect to HID devices with the given vendor and product IDs.

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Brave Software › Brave › Content settings User Configuration › Policies › Administrative Templates › Brave Software › Brave › Content settings
Supported on
Microsoft Windows 7 or later
ADMX file
brave.admx
Internal name
brave/WebHidAllowDevicesForUrls

Explanation

Setting the policy lets you list the URLs that specify which sites are automatically granted permission to access a HID device with the given vendor and product IDs. Each item in the list requires both devices and urls fields for the item to be valid, otherwise the item is ignored. Each item in the devices field must have a vendor_id and may have a product_id field. Omitting the product_id field will create a policy matching any device with the specified vendor ID. An item which has a product_id field without a vendor_id field is invalid and is ignored.

Leaving the policy unset means DefaultWebHidGuardSetting applies, if it's set. If not, the user's personal setting applies.

URLs in this policy shouldn't conflict with those configured through WebHidBlockedForUrls. If they do, this policy takes precedence over WebHidBlockedForUrls.
See https://chromeenterprise.google/policies/?policy=WebHidAllowDevicesForUrls for more information about schema and formatting.

Example value:

[
{
"devices": [
{
"product_id": 5678,
"vendor_id": 1234
}
],
"urls": [
"https://google.com",
"https://chromium.org"
]
}
]

Registry

HKEY_LOCAL_MACHINE\Software\Policies\BraveSoftware\Brave
HKEY_CURRENT_USER\Software\Policies\BraveSoftware\Brave
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Computer (HKLM)

Enable

# Enable: brave/WebHidAllowDevicesForUrls
$k = 'HKLM:\Software\Policies\BraveSoftware\Brave'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Automatically grant permission to these sites to connect to HID devices with the given vendor and product IDs.
Set-ItemProperty -Path $k -Name 'WebHidAllowDevicesForUrls' -Value '<value>' -Type String

Disable

# Disable: brave/WebHidAllowDevicesForUrls
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": brave/WebHidAllowDevicesForUrls
$k = 'HKLM:\Software\Policies\BraveSoftware\Brave'
Remove-ItemProperty -Path $k -Name 'WebHidAllowDevicesForUrls' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Automatically grant permission to these sites to connect to HID devices with the given vendor and product IDs.WebHidAllowDevicesForUrlsText boxtextWebHidAllowDevicesForUrlsREG_SZ
Max length: 1000000

Application

Brave (Brave Software) — November 2026 templates

Official templates downloaded on November 12, 2026.