Slashdot Mirror


Google Developers Create API For Direct USB Access Via Web Pages (softpedia.com)

An anonymous reader writes: Two Google developers have uploaded an unofficial (for now) draft to the World Wide Web Consortium's Web Incubator Community Group (W3C WICG) that describes a method of interconnecting USB-capable devices to Web pages. The API, called WebUSB, allows device manufacturers to provide special "registry and landing pages" where they can host JavaScript SDKs for their USB-capable devices. Site owners can load these SDKs as iframes inside their websites, and allow a site to access and relay commands (via the iframe to the browser's WebUSB API) to the actual device. To protect privacy and security, the WebUSB API also comes with a CORS-like system that prompts users for access to their devices to avoid abuse and Web-based fingerprinting. The system is also backward compatible with devices created before the standard's approval (if it gets approved).

5 of 131 comments (clear)

  1. That doesn't sound like it could ever be abused... by Anonymous Coward · · Score: 5, Funny

    That doesn't sound like it could ever be abused...

  2. Re: That doesn't sound like it could ever be abuse by Ukab+the+Great · · Score: 5, Funny

    It's just JavaScript. What could go wrong?

  3. ActiveX again? by Imazalil · · Score: 5, Funny

    Did all the Active X developers end up at Google?

  4. Re: That doesn't sound like it could ever be abuse by Anonymous Coward · · Score: 3, Funny

    Indeed. Now you can plug in a USB drive you found in the parking lot and infect the entire web with Cryptolocker.

    This could be the most productive thing to happen to humanity since evolving the ability to make tools.

  5. Re: That doesn't sound like it could ever be abuse by JustAnotherOldGuy · · Score: 3, Funny

    Assuming the security bugaboos can be worked out,

    Okay, I admit- that made me laugh. I mean, how hard could it be to work out all the security bugaboos? I see no problem with this plan, none whatsoever, especially based on the phenomenally secure state of the interweb right now. Why, I can hardly wait to plug some of these goodies into my PC to see what happens!

    --
    Just cruising through this digital world at 33 1/3 rpm...