🔍 See Original Answer on Ask Ubuntu ⧉ 🔗
How to Prevent users from copying files to usb..?
August 29, 2016
Edited: April 13, 2017
December 3, 2023
Copy to clipboard: false
/assets/js/search.js will update text..
The solution is to blacklist the USB storage driver. Users will not be able to read or write files through USB sticks. This not only protects your corporate information from theft but also reduces chances of viruses entering your system.
There isn’t a single parameter for blacklisting USB storage because it can vary between kernel versions.
A good write up is on AskUbuntu: how-do-i-disable-usb-storage This Q&A covers Ubuntu 12.04 through 16.04. It covers different blacklisting methods and different USB storage driver names.