Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5128

Advanced users • Re: Blocking HID Barcode Scanner as Console Input Device

$
0
0
if you use the grab flag when reading the scanner, then the key-codes wont be sent to any other app
And that was indeed the secret sauce! If only there was an ioctl to prevent the cat from walking on the keyboard...
HID devices are scary from a security standpoint. This is an internal-only app so I can pop a DVD into a drive and
then watch it on a media player elsewhere in the house. The barcode scanner is a quick way to pull metadata since
DVDs are not self-identifying. Thanks again for the help!

Statistics: Posted by Vraz — Wed Apr 10, 2024 9:36 pm



Viewing all articles
Browse latest Browse all 5128

Trending Articles