On 09/02/2021 18:38, Bhasker C V wrote: > Hi all, > > I know it is very useful that linux auto-detects a USB device when > plugged in. However I am trying to build a server which employs deny > first rule. That is, I don't want linux kernel to detect any USB > device even if plugged in except those listed with a Vendor/device ID > in a file (perhaps stored somewhere securely in the server). > > Is this possible ? I tried to skim though internet but could not find > any useful information except some pages reporting how to disable USB > storage. > > Please could someone help me with some pointers ? Certainly. https://www.kernel.org/doc/html/latest/usb/authorization.html
OpenPGP_signature
Description: OpenPGP digital signature