Is there any code solution preventing data transfer from an attached USB drive to computer?
That is while data transfer from computer to USB is allowed is being run.
Thank you in advanced
Asked
Active
Viewed 151 times
-1

Arnab Nandy
- 6,472
- 5
- 44
- 50

samsam114
- 987
- 2
- 8
- 20
1 Answers
0
Assuming you're looking for a Windows-based solution, you can write a file system filter driver to prevent reading files from USB drives, much like how anti-virus software intercepts file access. However, with bootable USB devices and BadUSB, there's more than one way for malware to attack a system.
For more information on intercepting file system access, see How does a Windows antivirus hook into the file access process?