I am concerned with the feasibility of this: On a pre-configured machine I will have a Web-Application pre-installed, next to an Apache-Suite. So client and server are the same!
In this Web-Application Users can drag and drop PDF-Files to an USB-Icon.
Then the Web-App should write the dropped PDF to an attached USB-Stick.
I have never done something like this (writing to USB), so I am fairly insecure. And I am well aware of the browser-restrictions concerning JavaScript and Filesystem-Access, but...
after researching a bit I found out, that there might be some possible and
relevant (I'm a Web-Platform-Guy) solutions to this:
- Make a "Chrome App" with USB-Permission (does this really work?)
- Use PHP to find the USB and then write to it (how would that work under Windows?)
- Use some Flash as middle man (not preferred)
Now I'd like to know:
- Has anyone some good experience with before mentioned possibilities?
- Has anybody ever done something similar? Did it work? Which path did you choose?
- How would I know which drive the USB is mounted, and how would I get sure?
- What other possible solutions to this problem are there?