How can I password protect / encrypt a Mac OS X folder?
Hi Dave. I have a question that I don't think you've ever written about: I have a folder with confidential information and want to encrypt or password protect it. I can see how to create a ZIP file from it with the Archive feature, but that's not password protected either. Is there any way to accomplish this in Mac OS X Snow Leopard?
I just finished working on my taxes - always a highlight of the year. Not. - and face the same dilemma: I want to have the files on my laptop in case I need to reference them, but at the same time, I also don't want them easily readable in case someone rips off my computer or otherwise finds it and starts poking around.
In fact, now that I think about it, there's a fair amount of information on my laptop that I wouldn't want posted to the Internet or perused by the public at large. Hmmm....
Turns out that while there's no way I'm aware of to add a password to the Archive ZIP file (which would really be cool, Apple. Hint, hint), there is an interesting way you can use Disk Utility to create a disk image that's encrypted and cannot be mounted - to gain access to the files and folders without knowing the password. Sound good?
Here's how I did it...
Go into your Applications folder, then within the Apple folder, and you'll find an app called Disk Utility. Launch it and here's what you'll see:
Ya see along the top the icon for "New Image"? Click it. Now you'll be able to configure exactly what you want for your new disk image:
First things first, though. Find the folder that contains everything you want to protect and choose File --> Info. You'll see that among the many fields shown is the size of the folder and its enclosed information. Like this:
Here you can see that the data files I have require only 467KB, so I'll try to create a 500KB disk image. To do that, I click on the Size menu, showing me tons of options:
Choose "Custom..." and you can type in the value desired. I'll choose 500KB:
Click "OK" and uh ohhhh:
Not sure why 10.5MB is the minimum size, but that's okay. We'll run with that. Next up is to click on the Encryption menu:
128bit AES Encryption is probably just fine for your needs, so choose that. Add a name and here's what you'll have, something kinda sorta like this:
Ready? Click "Create" and it'll prompt you for the encryption password key:
I used "iHEARTtaxes" for mine (just kidding!). Enter your password, twice, then click on "OK". You might want to opt not to save the password in your Keychain, btw, so that there's no trail of the password anywhere on the computer. I opted out.
Now there's a new entry on the left side of Disk Utility:
You can quit the Disk Utility now because we're done with it.
Now on your desktop is the new disk image as a ".dmg" file and as a mounted disk. Open it and drag your files and folders thereon:
Nice. One more step: unmount the disk now that you've added that data by clicking on the eject button:
You can test it by double-clicking on the ".dmg" file and you'll see:
Yay! Ya got a password protected virtual disk where you can store anything you want. As soon as you unmount it, it sits safely on your disk. Now, once you're convinced it works, delete your secure files (after copying them over onto the encrypted virtual disk!!) and then empty the trash. Done!
More Useful Mac OS X Help Articles:
✔ Audacity can't find LAME library, I can't save Mp3?
Hey Dave. I read your article Audacity can't save mp3 audio files and am still puzzled because I downloaded the LAME Mp3 converter...✔ How to remove Dashboard as a "space" in Mac OS X Spaces?
I'm a big fan of the Spaces utility in Mac OS X that lets me have multiple virtual screens [see Set Up Mac...✔ Best place to buy a cheap MacBook laptop?
Hi Dave. I am looking for two gently used MacBook laptops for my teen daughters. Personal computers would greatly facilitate their studies as...✔ File too big error copying to USB flash drive on my Mac?
I'm baffled. I have a 16GB Kingston USB flash drive that I use on my Mac system and I'm trying to copy a...✔ Stealth image capture photo from webcam on my Mac?
Someone sneaks into my cubicle while I'm at lunch and takes candy out of my desk. Petty, but stupid too. I want to...
Let's stay in touch!
Sign up for my weekly AskDaveTaylor Newsletter and you'll receive even more tech and gadget help right to your inbox, along with exclusive news and industry updates. It's good stuff. I promise!
I do have a comment, now that you mention it!
Check This Out Too...
Look for Answers
All Our Categories
Apple iPad Help
Articles and Reviews
Auctions and Online Shopping
Blogs and Blogging
Building Web Site Traffic
Business and Management
Computer and Internet Basics
d) None of the Above
Google Gmail Help
Google Plus Help
Industry News and Trade Shows
iPhone and Cell Phone Help
iPod, Sony PSP and MP3 Player Help
Kindle Fire Help
Mac OS X Help
Pay Per Click (PPC) Advertising
Search Engine Optimization (SEO)
Shell Script Programming
Tech Support Video Help
The Writing Business
Twitter, LinkedIn and Social Network Help
Unix and Linux Help
Video Game Tips and Help
Windows PC Help
Find Me on Google+
ADT on G+