To do this, whats needed is a way to place files into the DropBox folder already encrypted, but access the files unencrypted. Here's how.
First though, a note.
The files you store in this manner will be encrypted and only on a session by session basis will you access them unencrypted. This means that if you lose your password, you lose you data. Simple as. The unencrypted presentation you get with this Howto is only a presentation: your files are shown decrypted, as soon as you log out, shutdown, the unencrypted presentation dies.
- Download and install MacFuse (file system in user space)
- Download and install encFS for Leopard (works great with Snow Leopard). If this link doesn't work try Google Code - look for "EncFS for Leopard"
- run the command "encfs ~/Dropbox/encfs ~/Documents/encfs"
This creates a folder in your Dropbox folder called "encfs" (this is where the encrypted documents will be stored) and a symbolic link in your Documents folder, into which you put the documents you want to be encrypted on DropBox.
The first time you this command you are asked to make a choice:
- Please choose from one of the following options:
enter "x" for expert configuration mode,
enter "p" for pre-configured paranoia mode,
anything else, or an empty line will select standard mode.
p is a good option unless you really know what you're doing.
Some more message and you're good to go. You'll notice that you get a new drive on your desktop - this is the decrypted portion.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyCahA_cLZm5vJwxChnfzOPCc-TsvqKUDKEDZ5G-xMj0qO16xRg8KjiFhiB7sHKxnGkQj5aDivDCAAuhJW3vAFwL_lB4kdy88ge1nCJvT3AYR2eZ1XL9zc20ZFwgDfbtUPQG-8KFFIRUI/s400/Screen+shot+2011-05-29+at+21.55.12.png)
Doubleclick to open, and also the encrypted folder in your DropBox folder, and you'll see whats happening. To use, drag your files into this UNENCRYPTED folder / drive! They will be magically copied, encrypted into the 'enfs' folder in your DropBox folder.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihGxAoUapGMJ6VyvKHivv3ZPaHXN7rP1R9vqHD0A7rd90YEyCaUk65EKyPeCR6Whknkxne8EQKJrAN67b2zOkKxdM2FhlBH7wgDN13aub4VjiFXpQMymIqVRSE1RRNZ3yxO5v9SlT6m1Q/s400/encfs+%2526+dropbox.png)
One thing I noticed is that files take a bit longer to sync, even comparing to unencrypted files that aren't already in DropBox somewhere.
The mounting of the unencrypted folder doesn't happen automatically when you login, so run this command again.
CAVEAT: If you have any programs that auto-start and expect their data to be in the unencrypted folder, make sure this command is run first, else corruption and data loss may results.
Before the command is run, there is no plain text data available, because encFS and MacFUSE are decrypting the copy thats in your DropBox. If you lose the password, you lose your data. The folder created in your Documents folder will be empty.
If you delete this folder, next time you run the command you'll be prompted to create it.
The directory "/Users/user/Documents/encfs" does not exist. Should it be created? (y,n) y
EncFS Password:
You can repeat this process on any computer that is linked to your DropBox account, and you'll be prompted to (re)create this folder.
No comments:
Post a Comment