Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

104
Views
access mass storage device on web browser with WEBUSB API

how to display all mass storage device (e.g.-pen drive, etc..) data in a web browser. I have successfully accessed comport device in the browser using serial API, but how to access the mass storage device in the browser?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Web USB doesn't allow you to access Mass Storage devices for privacy and security reasons.

Note: This specification attempts to strike a balance between protecting users from malicious content by limiting access to sensitive devices while enabling support for as many devices as possible. As stated in the introduction the goal of this API is to support devices which are not covered by other, more high level APIs. The list above includes interface classes for which such high level APIs exist and provide greater protection for user privacy and security than low level access through this API would.

You can see that it's blocked by going to the internal about://usb-internals/ page in Chromium-based browsers such as Chrome and look for "Blocked by WebUSB".

The current list of protected classes is available at https://wicg.github.io/webusb/#has-a-protected-interface-class:

Protected interface classes
Code    Description
0x01    Audio
0x03    HID (Human Interface Device)
0x08    Mass Storage
0x0B    Smart Card
0x0E    Video
0x10    Audio/Video Devices
0xE0    Wireless Controller
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!