Why is this important to you? A mistake made by the Dropbox team few days back had left the Dropbox’s main door open for 4 hours. During this period, anyone can log into any account and access all the files in that account without any passwords. While this affects only 1% of its users (which amounts to about 250,000, and that is not a small number), if you are one of those whose accounts have been compromised and you have confidential files in your Dropbox, you better watch out for the bad things that might happen to you. Since you never know when such incident will happen again, it is best to encrypt your files before you sync them to the cloud so there is a second level of defense when your account has been compromised.
1. SecretSync
SecretSync is a file-by-file encryption solution for Windows and Linux. Once installed, you will find a new “SecretSync” folder in your user directory. Any files that you place in this folder will be encrypted and sync to Dropox. The installation and usage of SecretSync for Windows is pretty straightforward. You simply download, install and run it. it will then guide you through the encryption process.
For Linux, the usage is purely command-line based.
- You have to first download the deb file and install it in your system.
- Open a terminal and type This will run the installer and download the necessary files from SecretSync site. It will also run you through the setting up process.
After the installation, type to start the SecretSync service. You should see a new SecretSync folder in your Home directory. Any files you place in this folder will be encrypted and synced to Dropbox. Note: The latest version of SecretSync will add itself to the autostart item automatically. The following step is meant for the older version. To get SecretSync to autostart everytime you login, go to “System -> Preferences -> Startup Applications” and create a new startup item.
SecretSync
2. Encfs
Encfs is a better solution than SecretSync because it stores the encryption keys on your local machine and it can work in Linux (natively), Windows (via BoxCryptor) and Mac (via MacFuse), which is great if you use Dropbox on more than one operating system. In Ubuntu, open a terminal and type: To create an encrypted folder, type the command: The above command instructs encfs to create an encrypted hidden folder (with name .encrypted) in Dropbox and mount it in the Private Folder in your Home directory. When it prompts you for the configuration option, press “p” follow by Enter.
Next, it will ask you to enter your password. Be very careful with what you type since it won’t appear in the screen. That’s it. Whatever files you place in the Private folder will be encrypted and synced with Dropbox. To get the encrypted folder to automount everytime you log in, you can use gnome-encfs.
- Download gnome-encfs here (or grab the source here) to your Home folder.
- Type the following command:
GUI for Encfs In Linux, Cryptkeeper is an application that provides a graphical interface for encfs. It doesn’t come with the full configuration option for encfs, but if you need an easy way to get started quickly, this will be very useful.
In Ubuntu, Cryptkeeper works as a system tray applet. If you are using Unity, use the following command to get it to work: BoxCryptor BoxCryptor is not really a GUI for encfs, but its encryption method is compatible with encfs. If you have created an encrypted folder in Linux, you can use BoxCryptor in Windows to mount the same encrypted folder.
3. TrueCrypt
TrueCrypt is another powerful and cross-platform compatible encryption tool that you can use. We have mentioned it here and here, so we won’t go through it again. One disadvantage of TrueCrypt is that you have to create a fixed size virtual container before you can use it. In addition, you can only get it to sync after you have unmounted it. This means that you won’t be able to sync your files in real time. Other than that, if you need a true cross-platform solution, then TrueCrypt is definitely the one for you. That’s it. Which method do you use to secure your files in Dropbox?