Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-23-2009, 12:11 PM   #1
LQ Newbie
Registered: Dec 2009
Distribution: Ubuntu Karmic
Posts: 13

Rep: Reputation: 0
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?
Old 12-23-2009, 01:44 PM   #2
Senior Member
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 164Reputation: 164
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.
Old 12-23-2009, 02:24 PM   #3
LQ Newbie
Registered: Dec 2009
Distribution: Ubuntu Karmic
Posts: 13

Original Poster
Rep: Reputation: 0
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.


curlftpfs, encfs, ftp

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use key file instead of password for LUKS encrypted file systems? lucmove Linux - Security 2 06-30-2009 09:17 AM
Remote encrypted unattended file server nedlud Linux - Newbie 2 06-20-2008 03:22 PM
remote file storage server jason.andersen Linux - Newbie 1 05-16-2008 09:25 AM
samba permission on remote storage tajamari Linux - Software 2 02-04-2008 01:55 AM
Accessing remote shares with encrypted Samba password at bootup CyberGuy Linux - Software 1 01-09-2005 05:23 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:45 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration