Control use of the Web Serial API

Policy ID
DefaultSerialGuardSetting
Scope
Computer Configuration, User Configuration
Supported on
Firefox 151 or later
Source
Mozilla Firefox Policy Templates (version 8.3)
Category
Mozilla › Firefox

Description

If this policy is enabled, you can control whether websites can request access to serial ports.

Note: If any other policies are configured and this policy is not set, the Web Serial API is blocked by default.

Options

    • Do not allow any site to request access to serial ports via the Web Serial API
    • Allow sites to ask the user to grant access to a serial port

Registry

ComputerHKEY_LOCAL_MACHINE
  • DefaultSerialGuardSettingREG_DWORD
UserHKEY_CURRENT_USER
  • DefaultSerialGuardSettingREG_DWORD

Other policies in the same category

View all policies in this category (107)