The Mac Observer

Skip navigational links

DealsOnTheWeb Daily Deal: 8GB iPod Touch: $229 Delivered

TMO Quick Tip - Protecting Files with an Encrypted Disk Image

by , 7:30 AM EST, November 28th, 2007

I recently showed how to keep Leopard's pre-built Smart Folders from snooping where you don't want them. A couple of readers pointed out encrypted disk images are really effective at keeping your private documents private, too, and they are absolutely right. If you don't know how to create an encrypted disk image, however, they won't do you much good at all.

Here's how to make your own encrypted disk image:

  • Launch Disk Utility. You can find it hiding in Applications / Utilities.
  • Click New Image.

  • Select New Image in Disk Utility.
  • Enter a name for your image file in the Save As field.
  • Enter the name you want to use for the disk image when it is mounted in the Volume Name field. This can be different that the image file name.
  • Set the maximum size for your disk image volume with the Volume Size pop-up menu.

  • Be sure to choose 256-bit AES encryption and sparse disk image.
  • Choose 256-bit AES encryption from the Encryption pop-up menu.
  • Select sparse disk image from the Image Format pop-up menu. That way your image file can grow or shrink to the size of the documents it holds.
  • Click the Create button.
  • Enter a password for your disk image in the password dialog. Be sure to uncheck Remember password in my keychain for an added level of security.


Password protect your disk image to keep nosey people out.

To mount your disk image on your Desktop, double-click the disk image file and enter the password you created when asked. You can add and remove files from the mounted image just as if it was a real disk connected to a FireWire or USB port.


Your disk image file (left), and the mounted disk image (right).

To keep people from seeing the files stored in your disk image, simple eject the mounted image from your Desktop. All of the documents stored there will be safely locked away and encrypted. The only way to see what's hiding inside the disk image file is to double-click it again and enter the associated password -- even Spotlight can't look inside to see what's there when your image isn't mounted.


Jeff Gamet is TMO's Morning Editor and Reviews Editor. He lectures, teaches and speaks on Mac OS X and design-related topics, and is the author of The Designer's Guide to Mac OS X from Peachpit Press.

if you have tips or tricks to share, or Mac-related questions you want answered.

Observer Comments

Show: Subjects Only | Full Comments
View Name:Guest
Subject: Re-Mounting
Close Name:deasys Posts: 243 Joined: 08 Apr 2003
Subject:

Quote
Guest wrote:
Once I've ejected the encrypted disk image - how do I regain access to it, short of restarting?


Just double-click the image file. You'll be prompted to enter its password. Once you enter it, the virtual disk will mount on your Desktop, ready for use.

View Name:Guest
Subject: Thanks
View Name:Guest
Subject: Yeah, this works great
Close Name:noworryz Posts: 5 Joined: 15 Nov 2007
Subject: Sparse bundle, not disk image

In Leopard, you want to select "Sparse Disk Bundle," not "Sparse Disk Image."
Otherwise, every time you make the slightest change to any file on your encrypted image, the entire image will be backed up in Time Machine as a new file. Sparse bundles split the image into many small files (called "bands") acting as one so that Time machine will only back up the areas of the image that were changed.

View Name:Guest
Subject: Great article
View Name:Guest
Subject: Re: Sparse bundle, not disk image
Comment on this Article


You cannot edit your comments.   You cannot delete your comments.
Log in | Register | Having Problems? Reset TMO Cookies & Try Again
Username:   Password:   Log me on automatically each visit   

You are not logged in, and this post will appear as "Guest." Log in with your username and password from the TMO forums. If you do not have a username, you can register here.
Please note that guests are limited to including a maximum of two URLs per post.


Post A Comment
  Subject


  Your Comments



Please enter the word exactly as you see it in the image above. Registered users aren't prompted for this. Having trouble reading the image get a new one.


Recent Headlines - Updated Monday, May 12th, 2008

Mon., 9:40 AM
iPodObserver - Rumor: New iPhones Now, Tablets at WWDC
9:15 AM
iPodObserver - SingTel Announces Singapore iPhone Deal
8:40 AM
Pixelmator 1.2 Draftsman Adds Rulers, Adjustments
8:15 AM
iPodObserver - iPhone Unavailable at US, UK Apple Store
8:00 AM
iPO Ted Landau's User Friendly View - In search of headphones for my iPhone
7:30 AM
iPO Quick Tip - iPhone: Saving SMS Messages to Your Mac
Fri., 6:00 PM
iPO Free on iTunes - Aussie UFOs, StrangeThings, Hometown Tales and More
5:30 PM
StrangeCharm - Fewer Particles, More Debris ( Week of May 5)
4:05 PM
MW: The New Rules for Buying a Mac
3:15 PM
OpenOffice 3.0 beta Released for Mac OS X
1:30 PM
Pogue: Time Capsule is So Simple, Just Ignore It
1:05 PM
C|Net: Why Apple Should Build a Game Console
10:45 AM
Hot Forum Topic - The iPhone's March Across the World
10:20 AM
Mailplane 2 Beta Includes OmniFocus Support
9:45 AM
iPodObserver - Apple Canada Offers $45 Credit in iPod Suit
9:05 AM
Apple Settles Power Adapter Suit
8:05 AM
Microsoft Dissolves Yahoo Proxy Board
7:30 AM
TMO Quick Tip - Tracking Application Updates in Dashboard
 

The Mac Observer Reader Specials

Apple Stock Quote

  • AAPL: $184.6199. Change Today: +1.1699.
  • (Prices delayed up to 20 minutes.)
  • Discuss in our Apple Finance Board

Hot Topics

Apple iTunes

Top Deals From DealsOnTheWeb