WebUSB: Connect USB Devices Directly to the Web

Called the WebUSB API, a new API is billed as the most secure way to expose USB device services to the Web. Designed by two Googlers, it aims to take connecting USB devices to the Internet to a new level by making it simple to “plug and play.”
This API covers all types of devices that connect to a computer via USB ports — keyboards, IoT equipment, mice, etc.
What is the WebUSB API?
WebUSB aims to make the process of connecting a device to a web page a simple affair. However, Googlers don't want to label it as an international method. "WebUSB doesn't try to provide a generic mechanism for every web page to connect any USB device," they explain.
They hope that hardware manufacturers will be able to build cross-platform JavaScript SDKs for their devices. This would allow browser vendors to adopt the technology into their products and give hardware manufacturers a foundation to create devices with out-of-the-box WebUSB capabilities.
https://www.secnews.gr/102983/bing-becomes-the-best-search-engine-for-programmers/btn-large” variation=”btn-success”]Read more: Why is Bing becoming the best search engine for programmers?
How can we use the WebUSB API?
Let's take the example of a 3D printer. It's true that you can't go to Thingiverse and press Ctrl+P to print a design to your 3D printer. This is because user agents and operating systems don't have 3D printer support.
With the WebUSB API already built into browsers, however, the JavaScript code from the iframe will request 3D printer access. The website can ask the user to accept access and request commands, just like permissions on an Android device.
https://www.secnews.gr/103014/linus-torvalds-linux-will-beat-windows-desktop/See also: Linus Torvalds: “I will spend the next 25 years making Linux better than Windows”
