Reply
Anonymous Ftp Question
Old 03-03-2008, 11:07 PM Anonymous Ftp Question
Junior Talker

Posts: 1
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'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.
jgbarber1965 is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 03-04-2008, 02:27 AM Re: Anonymous Ftp Question
chrishirst's Avatar
Super Moderator

Posts: 11,885
Location: Blackpool. UK
If you use server side code to write the uploader it doesn't need to use FTP at all, then your real world app can simply communicate with the uploader. (A thin client application). Or you can encrypt/decrypt the password within the app so it is never in plain text in the application therefore accessible using a hex reader.

Other than that, get your host to set the target folder to have "write" permissions, or set it yourself if you have sufficient access.

For *nix + Apache it can be done via FTP using "chmod 777"
For IIS it needs to be done a server level so you need a site control panel or have direct/terminal services access
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Anonymous Ftp Question
 

Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12270 seconds with 13 queries