Skip navigation
This discussion is archived

Disable USB storage devices

4521 Views 3 Replies Latest reply: Aug 6, 2009 6:51 AM by mahender negi RSS
mahender negi Level 1 Level 1 (65 points)
Currently Being Moderated
Aug 4, 2009 12:12 PM
How do I disable or prompt for admin password when someone connect USB storage device to my Mac
Mac Book Pro 2.66 GHz,I-Mac Intel, Mac Pro DP,PowerMac G5 DP 2.0GHz,E-mac 1Ghz, Mac OS X (10.5.6)
  • AJ Level 5 Level 5 (7,065 points)
    Currently Being Moderated
    Aug 4, 2009 12:26 PM (in response to mahender negi)
    You can try making the account restricted/limited.

    However, I know that particular trick does not work for digital cameras or ipods.

    not sure if will work for HD's or usb memory sticks.
    Quad 2.66, Dual 1.42 MDD, Mac OS X (10.5.7), 23"HD
  • V.K. Level 9 Level 9 (56,120 points)
    Currently Being Moderated
    Aug 4, 2009 12:26 PM (in response to mahender negi)
    those are two different questions.

    a quote from the Leopard security configuration guide (to disable USB drives at all):

    48 Chapter 3 Protecting the System Through Hardware
    Removing USB Support Software
    Use the following instructions to remove USB mass storage device input/output
    support such as USB Flash drives and external USB hard drives.
    The removal of this kernel extension only affects USB mass storage devices. It does not
    affect other USB devices such as a USB printer, mouse, or keyboard. This task requires
    you to have administrator privileges.
    Important: Repeat these instructions every time a system update is installed.
    To remove kernel extensions for specific hardware:
    1 Open the /System/Library/Extensions folder.
    2 To remove support for USB mass storage devices, drag the following file to the Trash:
    IOUSBMassStorageClass.kext


    3 Open Terminal and enter the following command:
    $ sudo touch /System/Library/Extensions
    The touch command changes the modified date of the /System/Library/Extensions
    folder. When the folder has a new modified date, the Extension cache files
    (located in /System/Library/) are deleted and rebuilt by Mac OS X.
    4 Choose Finder > Secure Empty Trash to delete the file.
    5 Restart the system.


    to require and admin password on a nonadmin account. use this link to get Server admin tools
    http://www.apple.com/downloads/macosx/apple/application_updates/serveradmintools 1057.html

    Then open Workgroup Manager. Enter localhost in the address field, and an admin username and password in the remaining fields.

    select an account whose access to USB you want to restrict, click on Preferences->media access and set it as you want.
    Mac Pro 3.2 GHz, Mac OS X (10.5.7), Mac Pro 2.66GHz, powerbook G4 1.5GHz

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.