Safeguarding your porn collection using encrypted disk images

Cool stuff Add comments

With Tiger coming up shortly, it’s now more important than ever to keep your porn collection secure. It’s only a matter of time until someone using a shared Mac performs an innocuous Spotlight search that suddenly turns up a cornucopia of nasty porn associated with you. Depending on who finds it, you could get a visit from social services, suffer a divorce or breakup, be outed, be labeled a pervert, lose your job, or land in jail. In this instance, an ounce of prevention is worth a ton of cure.

Hiding such things from Spotlight is a good idea. To do that, you can create an encrypted disk image that is password protected to keep nosy users out, and the contents of the image don’t appear in Spotlight unless the image is mounted.

To begin, go to the /Applications/Utilities folder (press command-shift-u in the Finder) and start up Disk Utility. Click File, New, and Disk Image from Folder. This will create something called a sparse image. Sparse images are initially only as big as the data they contain and have the advantage of expandability later.

Select the folder where your porn is contained and press the Image button. Name the image. Select read/write from the Image Format drop-down. Click the Encryption drop-down and choose AES-128 (recommended). Select a save location and press Save.

You will then be prompted for a password. This is the password Disk Utility will use to encrypt the data and you will have to enter it each time the image is mounted. Do yourself a favor and make the password hard to guess. Do yourself another favor and uncheck the box for Remember password (add to Keychain). It really defeats the purpose of encrypting and password protecting an image if you’re going to automate its access with Keychain. Click OK after you enter your new password.

A new disk image containing your collection in encrypted form will be created. When you double-click the image to mount it, you will be prompted for the password. Drag and drop new porn onto the image as desired for permanent safekeeping.

Over time, your porn collection will probably continue to grow and will become larger than the sparse image you just created. As I said before, sparse images can be expanded to any size you need, but the drawback is that you have to do it through the command line. Why Apple doesn’t add a dialog in Disk Utility to adjust image sizes, I’ll never understand.

Open Terminal and enter this command:

hdiutil resize -size xxx /path/to/porn.dmg

… where xxx is the size you want to the image to be in megabytes or gigabytes. For example, 500mb or 4.7gb.

Now your porn is protected from prying eyes and accidental finds. Backups are a simple one-file copy operation. You stay out of jail, you get to keep your job, your wife, your kids, and nobody knows you’re really gay. I love it when technology helps us.

7 Responses to “Safeguarding your porn collection using encrypted disk images”

  1. vowe dot net Says:

    Safeguarding your porn collection using encrypted disk imagesWith Tiger coming up shortly, it’s now more important than ever to keep your porn collection secure. It’s only a matter of time until someone using a shared Mac performs an innocuous Spotlight search that suddenly turns up a cornucopia of nasty porn as…

  2. adplusplus Says:

    porn.dmg? That filename might spoil the whole hidding maneuver. Also 4.7 gig could be not enough :-)

    Actually, I guess there should be an option in Spotlight to select information should be indexed, and which information should be omitted. Something like a robots.txt file for webservers! After all, there´s lots of private information, including also personal CVs, bank data and more.

  3. Aaron Adams Says:

    From this page:

    Spotlight Preferences
    Completely control what Spotlight searches and how results are displayed.

    So theoretically you can exclude a folder or drive from indexing by Spotlight. The reason I prefer the encrypted disk image is that Spotlight only shows results located on the image when the image is mounted, so you can have the contents of the image show up in the search or not. I also like the idea that the disk image is password protected, so that when someone stumbles upon it via any method, there’s one more barrier to keep them out.

  4. tetsuotheironman Says:

    note that in the new ‘Disk Utility’ application you can create a ’sparse’ image which will grow/shrink automagically (ala filevault)..

    you could only do this via command line in 10.3.x

  5. Aaron Adams Says:

    you could only do this via command line in 10.3.x

    That’s not correct. Sparse images were created the same way in Panther (image from folder).

  6. ~/mike/blog » Blog Archive » Safeguarding your porn collection using encrypted disk images Says:

    [...] Attention: The following Post has been copied directly from http://www.aaronadams.net/. I didn’t write it, and keep a copy here only in case the original site goes down or something. NONE OF THIS INFORMATION IS MINE. ALL CREDIT BELONGS TO AARON ADAMS.With Tiger coming up shortly, it’s now more important than ever to keep your porn collection secure. It’s only a matter of time until someone using a shared Mac performs an innocuous Spotlight search that suddenly turns up a cornucopia of nasty porn associated with you. Depending on who finds it, you could get a visit from social services, suffer a divorce or breakup, be outed, be labeled a pervert, lose your job, or land in jail. In this instance, an ounce of prevention is worth a ton of cure. [...]

  7. ~/mike/blog » Blog Archive » Password management Says:

    [...] 2. Use the procedure from here (miror of content) to make a disk image out of the Encrypted folder. [...]

Leave a Reply

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in