How to block USB Pen Drive in Mac.

Asked By 20 points N/A Posted on -
qa-featured

I have an Apple Mac Book, I Use this at my office as well as home for Personal Use. I have some Secure and personal Data stored in my Mac. Sometime I use this Mac for presentation and demo for my staff and I want to be sure that no one can copy Data from my Mac. So I want to  Prevent Users from Accessing USB Storage Media like USB HDD, USB Flash Memory, USB Card Reader and USB Mobile Phone Data Cable. But At the Same time I want to Access to access my USB Storage on this Mac. Is it Possible to block USB Pen Drive in Mac PC?

SHARE
Best Answer by Khall Sherry
Best Answer
Best Answer
Answered By 0 points N/A #168509

How to block USB Pen Drive in Mac.

qa-featured

 

Hi,

As per my knowledge I am not fully sure but I think this will work for you .Either you can disable it fully or keep it. But there are no settings to accept only Apple devices such as iPad / Mac book and deny access to the rest. In case if you want to disable USB storage, open the terminal and type the following commands :

Code:

cp /System/Library/Extensions/IOUSBMassStorageClass.kext ~/backup/                                      

sudo srm -rf /System/Library/Extensions/IOUSBMassStorageClass.kext

sudo touch /System/Library/Extensions

sudo reboot

Repeat these instructions every time a system update is installed. Tested on OS X v10.6. 

 

Thanks

Answered By 0 points N/A #168510

How to block USB Pen Drive in Mac.

qa-featured

Hi Rutil!!

I have analyzed your important question. Now I am giving you the appropriate commands by entering which you can block your usb drives. You can disable it permanently or block for a few moments.

You have to open the terminal. Then you should  write down each word by separating with slash.

cp system Library Extensions IOUSBMassStorageClass.kext~backup sudo srm -rf System Library Extensions IOUSBMassStorageClass.kext sudo touch System Library Extensions sudo reboot.

I hope this will help you.

Thanks

Nowell

Related Questions