<- Chrome Settings Library

SerialAllowUsbDevicesForUrls

Automatically grant permission to sites to connect to USB serial devices.
Last updated October 8, 2024

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. On ChromeOS, this policy only applies to affiliated users. 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 On:
Platform Start End
Chrome (Windows, Mac, Linux) 94
ChromeOS 94
Example value:

{"0":{"urls":{"0":"https://specific-device.example.com"},"devices":{"0":{"vendor_id":1234,"product_id":5678}}},"1":{"urls":{"0":"https://all-vendor-devices.example.com"},"devices":{"0":{"vendor_id":1234}}}}

Features: