Restricting access to an external hard drive

I have an external firewire hard drive connected to my Mac that I use for daily back-ups of my important files. When a guest logs on to my Mac the external drive's icon is on the desktop and appears to be available to the guest user. As I wish to restrict access to personal and sensitive files as I have done on the internal drive, is there someway in which I can restrict altogether a guest's access to the external drive?

eMac G4 1.42GHz 160GB 768MB RAM, Mac OS X (10.4.8), La Cie d2 320GB Firewire drive

Posted on Nov 15, 2007 2:05 PM

Reply
11 replies

Nov 16, 2007 6:01 AM in response to John Herbst1

If the external drive has its owner set to an administrator account, and Others access set to read-only, then normal file protection will apply to a non-administrator guest account. Of course there is no protection against the guest connecting their own laptop to the external drive. For that, you need to keep the data encrypted. You could use hardware encrypting, and dismount the drive after each backup. A key is required to mount it.
<http://www.radtech.us/Products/Impact35Encrypted.aspx>

Nov 17, 2007 12:01 AM in response to red_menace

For some reason, admin authentication is only needed to uncheck the "ignore ownership on this volume" checkmark, but anyone can check it, which pretty much removes all the regular file permissions on an external volume.

At least on my system, if I check that box from a non-administrator account, it asks to authenticate. If I don't give it an administrator account and password, the box appears to be set, but if you close the Info window and do Get-Info again, you will see it is not really set.

Nov 17, 2007 9:49 AM in response to Malcolm Rayfield

Hmmm - no matter what I've tried, any user (admin or not) can check that box without any authentication and get access to files on the external drive. Even though the Get Info looks OK and folders have the no entry decal, they can still be accessed. About the only thing that seems to work is if the permissions on the external drive itself are set to no access by others, then the drive does not get mounted at all in an account without user or group access permissions.

Nov 19, 2007 4:37 PM in response to John Herbst1

Disk Utility doesn't have the option of using the super user to mount a disk, but the Terminal does via the diskutil utility (DU uses diskutil). Give this a try:

1) Open the Terminal.app from an admin account
2) Type the command: diskutil list (this will list all of your disks)
3) Look for the disk you need to mount, for example, /dev/disk1 (there will be various partitions, but this is the main disk number)
4) Type the command: sudo diskutil mountDisk /dev/disk1 (using the disk number you found, of course)
5) You will be prompted for your admin password, then all partitions on the disk should mount
6) Change the permissions

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Restricting access to an external hard drive

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.