is there any way to block pendrive using device ID, i meant can i allow only for specific device ID for accesss?

Asked by Lemba

is there any way to block pendrive using device ID, i meant can i allow only for specific device ID for accesss?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

This should be possible by creating dedicated udev rules.

You will probably need two rules:
For your specific pendrive a rule to allow and mount it
and for all other usbstorage device a rule to disable them.

Revision history for this message
Lemba (laishramlemba) said :
#2

Dear Manfred,

please kindly help me out the process of creating that rules

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

Can you help with this problem?

Provide an answer of your own, or ask Lemba for more information if necessary.

To post a message you must log in.