Well I like to suggest that you remove the kernel extension com.apple.iokit.IOUSBMassStorageClass form the maching , that will disable the all USB-based Mass-Storage devices which in clued the -sticks, USB-hard drives, few cameras stuff like that but then someone might come with the a firewire drive or try to reload the missing kext in that case this won’t help. Although like to warn about this technique the fact that removing the kernel extensions is should not be done but the someone with no experience as that have some potential that can rendering your system totally out of use . now I am not tell that this will not work , that is another case just that one do not do it until you up to the task. I well suggest that you should find the way to block storage devices is the most excellent that be able to be complete, except you are able of writing your own device driver. I am not sure if there will be any third party application available like in the windows which control the USB drive, may be that can help you cause or you can try this , start the terminal and run this code
Code:
cp /System/Library/Extensions/IOUSBMassStorageClass.kext ~/backup/
sudo srm -rf /System/Library/Extensions/IOUSBMassStorageClass.kext
sudo touch /System/Library/Extensions
sudo reboot
this will disable USB storage, it will no more mounting, this method is working on the Mac OS X 10.6 but you need to do this again in case you done any software update
Bookmarks