Friday, July 10, 2009

Question about anonymous ftp?

I have a web site and web host. I am writing a non web application that will ftp a file up to the site and delete it a while later. I want to set up one folder on my site for this. I don%26#039;t care if anyone can ftp to or view the contents of this folder (like an anonymous ftp) but I want the rest of my site to be secure. To ftp, my application has to have the ftp password hardcoded and if someone decompiles it, they can hack the rest of my site. How do I set up a folder on my web site to have anonymous ftp (no password needed) and the rest of site be secured? My web host has a help section that talks about anonymous ftp, but it seems to be all or nothing. Either the whole site is anonymous or secure. I do not care if anyone can hack this single anonymous folder.



Question about anonymous ftp?





What about assigning a separate FTP account instead of making it anonymous? Most web hosts do allow you to have multiple FTP log-ins, with different folders assigned to each. That sounds like it would be ideal for your needs (after all, you don%26#039;t want some anonymous user uploading massive files and taking up all your drive space).

No comments:

Post a Comment