On Windows, is there a way to programmatically approve a USB device after insertion, if it has a certain type (say, a removable disk), allows it to be used, otherwise not? Also, do not allow drivers to run, allow the device to be used only in an approved way?
those. We want to allow the insertion of USB drives, but we donโt have to worry about the installed virus.
EDIT Sorry, I was not very versed in publishing this question. Yes, this is Windows, but I'm not worried about autorun programs, which, of course, are disabled. Users will not be able to access executable files, only data will be read from disk. They will not have access to any user interface, except what we allow (this is a kiosk). I am worried about working with drivers and installing software (ala U3 and other USB software that installs when a USB drive is inserted). In the wild, there are many viruses that you can run by simply inserting a USB drive into the system. We have limited Group Policy actions to the level that we can, but I canโt find a way to prevent the installation of drivers without creating a basic whitelist of USB drives that come pre-loaded and nothing else will work (i.e. Don't allow installation drivers).
source share