For security reasons, I would like to make sure no USB device can be connected to my servers running RHEL3 except keyboards, mice and flash drives. To sum up :
What should work :
- Mouse
- Keyboard
- USB storage device
What shouldn't work :
- Printer
- USB modem/NIC
- Wifi dongle
- anything else
Is there any other way than removing according kernel drivers ? If not, which files should be kept in order to keep functionality of accepted devices?
Side-note : some hosts are VMware VMs running on ESXi 4.1 or 5.0. That may be important since I think they may emulates important USB devices (I think about virtual DVD drives which I could need)