August 27, 2007

Secure sparse image's

Want to protect some data on your USB key? You can create a encrypted sparse image that you can mount/umount to store it all.

1) Plugin your USB key
2) cd /Volumes/UsbKeyName
3) hdiutil create SparseImageName -size 1g -encryption -type SPARSE -fs HFS+ -volname VolumeName
4) Enter the password you wish to use to protect the disk image.

Afterwards you'll have a file on your USB that can only be opened and written to if you have the password... protected with 128bit AES encryption...



TrackBack URL for this entry: