How can I secure this FTP folder?


Recommended Posts

Hi, I am backing up a server into an FTP. My main concern is that I anyone can access that backups by simple typing http://200.22.XXX.XX/santiago/backupname.tar.gz

Actually backup is set to send the file to /home/santiago/public_html/*.*

WIch is the easiest way to protect that folder with a password without having any trouble with the actual backup configuration? 

 

Thanks!

Link to comment
Share on other sites

are you sending this backup to ftp via ftp, or is it backed up on the server and just placed in that folder that happens to be open to anonymous ftp?

Link to comment
Share on other sites

Store it outside of the public_html folder

This works, but still better to protect it.

Hi, I am backing up a server into an FTP. My main concern is that I anyone can access that backups by simple typing http://200.22.XXX.XX/santiago/backupname.tar.gz

Actually backup is set to send the file to /home/santiago/public_html/*.*

WIch is the easiest way to protect that folder with a password without having any trouble with the actual backup configuration? 

 

Thanks!

If it's a temporary storage situation, I'd suggest using htaccess to set a Username/password.

Tutorial + Generator

Link to comment
Share on other sites

you still haven't said are you backing up via ftp to this server.  Or on the server backing up to a folder that is open via anon ftp?

I have to wonder why either way you would be backup files in a folder that is open to anon ftp in the first place?  To be honest I would just turn off ftp and use sftp.

Link to comment
Share on other sites

This topic is now closed to further replies.