How to: Disable USB ports on OSX
There are three methods to disabling USB ports on OSX.
The first is to bind the networked systems to an OS X Server. You cannot specifically disable USB ports, you will need to essentially stop the client system from mounting any external drives, this may not be practical on some systems, but should work in most cases. You can configure “Allow”, “Require Authentication” and “Read-only” access to removable drives which will include all USB and Firewire ports.
The second method is to remove “System/Library/Extensions/IOUSBMassStorageClass.kext” from the /System/Library/Extensions directory. This will still allow all mice, keyboards and printers to function properly.
The third method is to superglue your USB ports
