Protecting Files with an Encrypted Disk Image
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.
- 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.
- 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.
![]() Select New Image in Disk Utility. |
|---|
![]() Be sure to choose 256-bit AES encryption and sparse disk image. |
|---|
![]() 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
Wed Nov 28, 2007 3:43 pm 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.
Quotenoworryz wrote:
... 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.
Thank you that someone finally explained this distinction. I had searched the entire Apple web site with the words "sparse bundle" (after failing with "sparse bundle disk image") and received zero hits. It is a bit hard to know what something does when Apple does not bother with an explanation on its web site or even in Disk Utility Help.
Comments are currently closed. Please email the author instead.
Recent Headlines - Updated November 8th
- Sat, 7:58 PM
- News - Apple TV 3.0.1 Update Fixes Missing Content Bug
- Fri, 7:45 PM
- Rumor - Taiwan Leak Shows Verizon UTMS/CDMA iPhone for Q3 2010
- 6:40 PM
- News - iPhone Moves Into RadioShack
- 6:30 PM
- News - Apple to Open Stunning Paris Apple Store in Le Louvre on Saturday
- 5:43 PM
- Free on iTunes - Dictionary, Dictionary, Dictionary, And More
- 4:09 PM
- John Martellaro's Blog - Particle Debris (week ending 11/6) Failure IS an Option
- 3:32 PM
- Games - The Latest App Store Games: Gravity Sling, RocketBird, Ground Effect, Checkers!
- 2:25 PM
- Games - Star Soccer 2010 for Mac Puts Gamers in Role of Up-and-Coming Player
- 2:15 PM
- How-To - The Mysteries of Rosetta Housekeeping
- 1:33 PM
- News - iPhone Game Developer Sued for Collecting User’s Cell Numbers
- 1:17 PM
- Games - Warhammer Online Expands Trial Play Option
- 11:19 AM
- Rumor - Apple May Be Bringing RFID to the iPhone
The Mac Observer Reader Specials
- TypeStyler For Mac OS X is Now Shipping! Download The Free Fully Functional 60 Day Tryout at www.typestyler.com
RamJet Memory: Mac Pro 8-core 8GB Kit $199.99, 4GB Kits $109.99! Sale on MacBook and MacBook Pro 8GB kits $549.99! New MacBook DDR3 2GB for $49.99. iMac and Mac mini 4GB Kits for $79.99! 1TB SATA Hard Drives for $109.99! Click here
OWC: Get the Right Memory / Ram for your Mac. Top Quality, Competitive Prices, Lifetime Warranty. Expert Support and Video Installation Guidies too! 4.0GB Matched Sets from $87.99, Options up to 32GB. Click here
If you're using a Mac, then you've gotta check out Full Tilt Poker for Mac. This Full Tilt Poker bonus code does the unthinkable, it actually rewards!For the latest Apple products use Ciao, a price comparison website, to find laptops like MacBook Air. Then find the best prices on MP3 players and use our comparison tool to evaluate mobile phones like the Apple iPhone.
Laptop Hardware Provided by TechRestore - Overnight Mac & iPod Repairs.





