News for hackers. Stuff that matters.
Re:Porting USB applications to the web. Part 1: libusb by monocasa on Thursday January 20, 2022 @01:47PM (#30012900)
The difference is that webusb requires the specific website allowed to interact with the USB device to be listed in a USB descriptor. What that means is that you can't replace the functionality with the same UX. So for instance Arduino can make a generally available web arduino IDE, but I can't replace that if it goes down.
Re:Porting USB applications to the web. Part 1: libusb by devanl on Thursday January 20, 2022 @02:06PM (#30013147)
The initial WebUSB proposal included the notion of "allowed origins", but it was eventually removed in favor of user freedom.

The device can provide a landing page URL for the browser to show when the device is plugged in, but otherwise any site meeting the secure origin requirements and that has user permission can access a USB device, same as any other website.

Re:Porting USB applications to the web. Part 1: libusb by monocasa on Thursday January 20, 2022 @02:15PM (#30013304)
Oh, that's great to hear. I might take another look at it then.