Dec 18, '02 08:33:54AM • Contributed by: Anonymous
First create an encrypted disk image and name it, say, 'Secure'. The disk image file is safe and can be stored anywhere. Next, quit the Address Book app if it's running, move your AddressBook directory to the mounted image, and delete the original (or better, securely erase it with PGP or another utility.) Now open a Terminal window, and at the prompt type (without the quotes) 'ln -s'. Go back to the Finder window showing the new location of the Address Book directory, and drag the folder icon into the Terminal window. The path will be added to the command. Now type a space. Go to the Finder window showing the old location of the directory, and drag the Application Support folder icon into the Terminal window. You should now see something like this (although it will be on one long line in your window, with a space before the "/Users" piece):
% ln -s /Volumes/Secure/AddressBookHit return. You should now see the symbolic link where the AddressBook folder used to be (it looks like an alias.) I suggest you lock it in the Get Info dialog.
/Users/your_username/Library/Application Support
I've done this with the Mail database, the iCal Calendars, many third-party data files, and also with some preference files such as Mail's, com.apple.mail.plist.
There are some caveats. The technique seems to work with all Cocoa and most Carbon applications, but a few are unable to resolve the links and will throw errors or crash. The disk image obviously has to be mounted before you launch the apps, so you can't include them in your login items.
