4 ms·
A simple system like android fine grained permissions? <usb device> is asking to send keyboard input. Allow/Deny?
by fouronnes3 7y ago
A simple system like android fine grained permissions? <usb device> is asking to send keyboard input. Allow/Deny?
- deleted 7y ago[deleted]
- Wowfunhappy 7y agoThis strikes me as the right solution, with two caveats: • It should allow the keyboard through—or have a timeout that defaults to "yes"—if a mouse or keyboard is not already connected. • I should have the option to disable it.
- fouronnes3 7y agodesktops and servers could have special "root ports" physically colored red and hidden at the back of the case that don't require permissions.
- dredmorbius 7y agoPS/2!
- Gaelan 7y agoIf there's a monitor, you don't need to trust the first keyboard—just display a message with "type this [random] code to allow this keyboard."
- Wowfunhappy 7y agoI like this, but how do you know the keyboard layout?
- sthgrau 7y agoMy thought was that it would be an excellent, low knowledge way of figuring that out. For example, if it said type "qwerty" and it came through as "azerty", that would get you 95% of the way to having a fully functional keyboard. Mapping out the requisite keys needed to fully identify the keys could probably be done with a fairly short number of key presses for 99+% of likely keyboards. For this case, I am assuming that the keyboard and os language are fairly compatible, at least translatable.