The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

Views: 1,767β€…    Votes:  3β€…
Tags: file-sharing   usb-storage   copy  
Link: πŸ” See Original Answer on Ask Ubuntu πŸ”—

URL: https://askubuntu.com/q/818165
Title: How to Prevent users from copying files to usb..?
ID: /2016/08/29/How-to-Prevent-users-from-copying-files-to-usb/How-to-Prevent-users-from-copying-files-to-usb.._
Created: August 29, 2016    Edited:  April 13, 2017
Upload: November 24, 2022    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


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.

⇧ Mounting multiple external HDD storages as /mnt/sdx might cause I/O error on wake from suspend? Can I get a virus by using "sudo apt-get install"?  β‡©