home | list info | list archive | date index | thread index

Re: how to limit HID qr scanners

> On Apr 14, 2020, at 11:37, Stephen M. Webb <stephen [ dot ] webb [ at ] bregmasoft [ dot ] ca> wrote:
> […]

> If you want to stop arbitrary devices from sending arbitrary data to applications from within the kernel, you simply
> have to write a device driver and insert it into the handling chain so that when an application does a read() on the
> device, those various events get filtered out.  If you want to whitelist some applications, that too can be hooked into
> in-kernel.
> 
Reaching way back to my OS hacking days, [before Linux], this is what I would recommend also. This is the best place to filter out special characters. 

Regards,
Spencer
To unsubscribe send a blank message to linux+unsubscribe [ at ] linux-ottawa [ dot ] org
To get help send a blank message to linux+help [ at ] linux-ottawa [ dot ] org
To visit the archives: https://lists.linux-ottawa.org