WebHidAllowDevicesForUrls

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

Supported on:

  • Chrome (Windows) since version 100

Description:

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.

Supported features:

  • Applied to browser without restart. Note that some ongoing tasks may not be affected.
  • Applied at Samsung Browser level, cannot be set by Cloud user policies.

Data type:

Dictionary
Windows:REG_SZ

Windows registry location:

Software\Policies\Samsung\Internet\WebHidAllowDevicesForUrls

Schema:

{
  "items": {
    "properties": {
      "devices": {
        "items": {
          "properties": {
            "product_id": {
              "maximum": 65535,
              "minimum": 0,
              "type": "integer"
            },
            "vendor_id": {
              "maximum": 65535,
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [
            "vendor_id"
          ],
          "type": "object"
        },
        "type": "array"
      },
      "urls": {
        "items": {
          "type": "string"
        },
        "type": "array"
      }
    },
    "required": [
      "devices",
      "urls"
    ],
    "type": "object"
  },
  "type": "array"
}

Example value:

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

More policies under Content settings: