How to Block HID Devices Access Globally in Google Chrome

The Peripheral Bridging Vector

Google Chrome features a powerful, low-level hardware interface known as the WebHID API. By default, the browser allows specialized websites to request direct, raw communication with Human Interface Devices (HID)—such as specialized gaming controllers, macro keyboards, or niche medical hardware—plugged directly into your computer. While an incredible technical achievement that allows web apps to function like native software, it is a massive security vulnerability. Malicious websites can exploit this API to silently footprint your connected peripherals or attempt to interface with specialized hardware without the strict sandboxing normally enforced by your operating system. You must permanently paralyze the browser’s ability to bridge the web to your local HID hardware.

How to Block HID Devices Access Globally

You can permanently sever the browser’s ability to execute WebHID requests via Chrome’s Site Settings.

  1. Open the Google Chrome desktop browser.
  2. Click the three vertical dots (â‹®) in the top right corner and select Settings.
  3. In the left-hand sidebar, click on Privacy and security.
  4. In the main window, click on Site settings.
  5. Scroll down to the “Permissions” heading and click to expand Additional permissions.
  6. Click on HID devices.
  7. Under the “Default behavior” heading, select the radio button for “Don’t allow sites to connect to HID devices.”

Total Hardware Isolation

The change takes effect instantly. Google Chrome will completely terminate its background WebHID bridging daemon. The browser will instantly sever its connection to your operating system’s USB/HID input stack. If a website attempts to execute an API call to scan for macro pads or specialized controllers, the request will instantly auto-reject in the background, returning a null value. This guarantees absolute peripheral isolation, ensuring that untrusted web code cannot leverage your browser as a conduit to attack or fingerprint your physical hardware setup.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.