SerialAllowUsbDevicesForUrls

Automatically grant permission to sites to connect to USB serial devices.

Supported on:

  • Chrome (Windows) since version 94

Description:

Setting the policy allows you to list sites which are automatically granted permission to access USB serial devices with vendor and product IDs matching the vendor_id and product_id fields. Omitting the product_id field allows the given sites permission to access devices with a vendor ID matching the vendor_id field and any product ID.

The URLs must be valid, otherwise the policy is ignored. Only the origin (scheme, host and port) of the URL is considered.

This policy overrides DefaultSerialGuardSetting, SerialAskForUrls, SerialBlockedForUrls and the user's preferences.

This policy only affects access to USB devices through the Web Serial API. To grant access to USB devices through the WebUSB API see the WebUsbAllowDevicesForUrls policy.

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\SerialAllowUsbDevicesForUrls

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://specific-device.example.com"
    ]
  },
  {
    "devices": [
      {
        "vendor_id": 1234
      }
    ],
    "urls": [
      "https://all-vendor-devices.example.com"
    ]
  }
]

More policies under Content settings: