-   Linux - Software (
-   -   Encrypted remote file storage (

Sathallrin 12-23-2009 12:11 PM

Encrypted remote file storage
Here is what I would like to do. I have a remote FTP server that I can store files on. I want to be able to mount this as a folder in linux and everything I put on there will be stored encrypted on the FTP server.
It would be nice if this could cache the files locally, up to a certain amount of space.

  • Mount filesystem locally (using FUSE would be the most likely candidate)
  • Connects to remote FTP
  • Files are encrypted (both contents and name) before uploading and decrypted after downloading

Additional Features
  • Cache files (set a size in MB of how big of a cache to keep)
  • Set files to always stay in cache
  • Set transfer speed limits

What I have tried.
The closest I have come is to use curlftpfs to mount the FTP as a local folder. Then use encfs to mount an encrypted folder that stores files to the folder mounted by curlftpfs.
This works okay, but fails a lot on transfers, also curlftpfs doesn't seem to do any caching.

Anyone come across any software that can do this?

rweaver 12-23-2009 01:44 PM

If you're concerned about security enough to encrypt your files, I need to ask... why ftp? scp, sftp, tunneled remote nfs mount... there are a multitude of better ways, ftp may be the worst possible method if security is of any concern.

Sathallrin 12-23-2009 02:24 PM

I just mentioned FTP because that is what the server I'm looking at supports.

I would like if the solution could support any transfer protocol, as that would be more open to multiple uses.

In the end, if the files are encrypted before transfer the contents can't be seen during transfer and can't be seen if the remote machine is compromised.

All times are GMT -5. The time now is 03:02 AM.