Mounting a TrueCrypt volume over FTP
- by Maxim Zaslavsky
Is it possible to mount a TrueCrypt volume file over FTP?
Here's how TrueCrypt works with a local file:
User inputs path to volume file, enters password
TrueCrypt verifies that the password is correct (probably by decrypting the very first part of the volume file?)
TrueCrypt reads the directory listing from the volume file and mounts the volume. However, in this step, TrueCrypt does NOT process the whole volume file.
The user browses the directory listing and opens a file.
TrueCrypt reads only the part of the volume file that contains the file the user wants, and then decrypts it. Once again, TrueCrypt doesn't process the whole volume file - it only reads part of it.
The user edits part of the file and saves it.
TrueCrypt encrypts the change and edits the volume file.
I'm pretty sure it should be possible to mount a volume over FTP, without undermining security and without having to transfer the whole volume file just to read one small part of the volume.
Here's how I imagine it:
User inputs FTP path to volume file, enters FTP login information, enters password to volume
TrueCrypt downloads the very first part of the volume file and verifies that the password is correct
TrueCrypt downloads the part of the volume file that contains the directory listing - the data is sent encrypted over FTP and is decrypted locally.
The user browses the directory listing and opens a file.
TrueCrypt downloads only the part of the volume file that contains the file the user wants, and then decrypts it locally.
The user edits part of the file and saves it.
TrueCrypt encrypts the change and edits the volume file over FTP, transferring encrypted data only.
Is such a feature available?