I want to prevent users to copy on usb devices and some others actions. I was thinking of using polkit. Do you think it is a good solution or does someone know some alternatives ?


I also need to disable cd/dvd writing. How could I achieve this ? Polkit doesn't to be shipped with this kind of policy. I was thinking of disabling cdrecord for users.


  • "Securing" a workstation has multiple meanings: (1) Securing the hardware, (2) Hardening the operating system, (3) Securing/limiting the available software. "and some other actions" is not helpful to get useful answers. Please consider giving more details.
    – sakisk
    Feb 25, 2012 at 9:32
  • I want to limit the risk of data leak/thievery on any support.
    – igor012
    Feb 28, 2012 at 13:43

1 Answer 1


There are very many ways of achieving this, you need to have an idea of what "some other actions" are before you can choose the solution.

Assuming that all you want is to prevent copying to usb devices, you could just prevent all usb storage devices from being mounted (blacklist that module). Or you could make the usb storage devices read-only (via udev), etc..

  • I have used polkit-1 and this policy org.freedesktop.udisks.filesystem*
    – igor012
    Feb 28, 2012 at 13:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.