element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Embedded and Microcontrollers
  • Technologies
  • More
Embedded and Microcontrollers
Blog WebUSB API lets you Access USB Devices over the Internet
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Embedded and Microcontrollers to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Catwell
  • Date Created: 6 Jul 2018 3:15 PM Date Created
  • Views 1052 views
  • Likes 2 likes
  • Comments 0 comments
  • internet of things
  • usb
  • embedded
  • cabeatwell
  • iot
  • innovation
Related
Recommended

WebUSB API lets you Access USB Devices over the Internet

Catwell
Catwell
6 Jul 2018

image

The WebUSB API was designed for USB devices to safely connect to the web without the need for a dedicated platform. (Image credit: Pixabay)

 

The WebUSB platform has been out for a while now and uses an API for connecting USB devices directly to different web pages depending on the task. It was created with the vision for use as an internet connectivity platform for hardware developers and manufacturers of non-standardized USB devices, effectively eliminating the need to code native drivers and SDKs in order for them to function.

 

The API functions as a gateway to safely connect anything USB to the internet, from keyboards to IoT devices, and is backward compatible, capable of working with old USB technology. It also allows those developers to build cross-platform SDKs for their devices using JavaScript. According to the WebUSB developers, “This will be good for the web because, instead of waiting for a new kind of device to be popular enough for browsers to provide a specific API, new and innovative hardware can be built for the web from day one.”

 

Of course, as with anything connected to the internet, there are security concerns, and as a result, the WebUSB API uses the CORS (Cross-Origin Resource Sharing) system, which prevents webpage resources from requesting data from other sites, apart from the web page the device initiated. Although the system is aimed to limit direct access to peripherals, it’s not entirely secure, as hackers can write malicious code to access your system through the WebUSB API and view any device’s serial numbers and other data. It’s recommended that manufacturers design their devices to only accept signed firmware updates and require physical access just to make configuration changes.

 

As far as where the WebUSB API is headed, the developers are looking into Shared and Service Worker scripts, which run in the background on browsers and acts like a middleman to authenticate users and allows access to features that don’t require a web page to function.

 

How could you use Internet accessible USB devices?

 

See more news at:

http://twitter.com/Cabe_Atwell

 

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube