by taeric · 12y ago · 0 comments
Would it not be simple to offer up "non generic" USB port support? That is, the problem is that plugging a USB device could be plugging in a variety of things, which makes it tough. You have to assume that every stack on your machine is hardened against attack.
Instead, make it so that a user can designate that a port can only be used by mass storage devices or keyboards. A basic UI could be devised showing all of the ports and what is expected to be plugged in to them. If something different is actually plugged in, it is not allowed to connect.
That make sense? Something like this already exist?
1) User finds USB stick in parking lot
2) User takes USB stick back to desk and plugs it into workstation
3) Workstation throws up a dialog saying "Hey! I don't recognize that thing you just plugged in! Are you sure you want to let it connect?"
4) User blindly clicks "OK" on dialog without reading it while surfing porn in another window
And, really, if we are concerned with people blindly clicking "OK", I'm not sure of what you can do.
- "USB device 'Kensington 16GB' is trying to take over as your computer's keyboard. Allow?"
- "USB device 'Kensington 16GB' wants read access to your files. Allow?"
- "USB device 'Kensington 16GB' wants write access to your files. Allow?"
The latter two could be more specific about the source/target directories.