Skip to content

Encrytpted Folder on Mac OS X

Today a friend of mine told me that  while he was traveling that his laptop was stolen, unfortunately for him, it was his work laptop containing all his data, projects, presentations and a few clients data.  Fortunately, he told me that the laptop was using truecrypt, that all the files contained on the laptop were encrypted and that no one would be able to use the laptop without its consent.

After this small conversation, I began to freak out about my mac being stolen and my projects and personal data being published on the internet so I decided to encrypt my drive, and my fist thought was to use truecrypt or  firevault on my mac, but I wasn’t sure to like the fact that my drive would be totally encrypted and that I would not be able to use a “forensic method” if my drive was crashing (Yup, even with chunks). Therefore I finally decided to create an encrypted folder on my mac.

 

Step By Step:

  • On your desktop create the folder that you want to encrypt ( in my case “Projects”)
  • Open the Application folder and open the Utilities folder
  • Open the Disk Utility application

From an existing folder:

in the Disk Utility application :

  • Goto “file” -> “Disk Image From Folder”
  • Chose the folder you want to encrypt (in my case “Projects”)
  • Chose the encryption (the stronger the best)  AES 256 bit
  • Enter your Pass-phrase  (PLEASE) do not use 5 chars ! *
  • Click on
  • The process of creating you encrypted folder will begin.

From a non Existing Folder:

 

As you may see the folder is an image (MyProjects.img) which means that you can mount and unmount the encrypted image or even copy it to an USB drive.

  • Goto “File” -> “Blank Disk Image”
Encrypted Disk Image

Encrypted Disk Image

  • Choose the Size (I took 8.3 GB)
  • Choose the Encryption (AES 256-bit)
  • Click on Create
  • Enter your pass-phrase

 

Now you will find a encrypted folder on your Desktop at any time, and when you will click on it, it will ask you the pass-phrase to open it.

 

And That’s it.

 

 

*To use secure a password rely on:

  • On the letters you are using ( A-Z, a-z)
  • On the numbers your are using (0-9)
  • On the special chars ( @, /, !, #, etc)
  • BUT ALSO on the length of it

using a password like the following  “ABd2@”   will anyway be less secure than using  “ThisIsMyPasswordAndILikeToWearLargeJeansBecauseMyFavoriteNumberIs42” so please consider using a nice and long and secure password.

 

Post a Comment

Your email is never published nor shared. Required fields are marked *