Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Controlling a USB device from a web application

I would like to be able to control a USB device from a web application.

I was hoping to use Adobe Flex but I don't think that Flex can support access to USB devices.

Is this possible using Java applets, or a similar approach using .NET?

Thanks.

like image 947
user422928 Avatar asked Aug 17 '10 14:08

user422928


People also ask

How do I remotely connect to a USB?

Steps for remote USB connection:Install USB Network Gate and launch it. Then switch to "Remote USB devices" tab and see the list of remote devices. Select the remote USB device you want to use and press "Connect".

What is USB app control?

USB lockdown software (also known as device control) stops unauthorized or unknown devices from interacting with endpoints that contain sensitive data. This approach uses endpoint security agents to monitor the environment, enforce policies, and record what data has been moved, if any.

What is USB spoofing?

HID (Human Interface Device) spoofing — In a more sophisticated attack, the device looks like a USB stick but in fact will trick the computer into thinking a keyboard is attached. When plugged into a computer, it injects keystrokes to command the computer to give a hacker remote access to the victim's computer.

How do I control USB ports?

Enable or Disable Usb Ports Through Device ManagerRight-click on the “Start” button on the taskbar and select “Device Manager”. Expand USB Controllers. Right-click on all entries, one after another, and click “Disable Device”. Click “Yes” when you see a confirmation dialog.


2 Answers

I don't think any web client platform will allow this. On purpose.

If you find one that does, I will uninstall from all my machines.

like image 70
Henk Holterman Avatar answered Sep 24 '22 13:09

Henk Holterman


With .NET, you could

  1. Create a WinForm control and host it in IE with an object tag. This requires security settings to be set using CASPOL or ActiveDirectory, but you would have full-trust to the machine after this

    http://weblogs.asp.net/spano/archive/2007/09/19/hosting-a-windows-form-control-in-a-web-page.aspx

  2. If there is already a COM object on the machine that does what you need, you can access it via Silverlight with elevated permissions.

    http://www.silverlightshow.net/items/Silverlight-4-elevated-permissions.aspx

With Applets, you could do it with a trusted applet.

Using a lot of different technologies, you could create ActiveX objects, plugins or browser extensions to do it.

like image 41
Lou Franco Avatar answered Sep 24 '22 13:09

Lou Franco