Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Anonymous Ftp Question
Old 03-04-2008, 12:07 AM Anonymous Ftp Question
Junior Talker

Posts: 1
Trades: 0
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
 
 
Register now for full access!
Old 03-04-2008, 03:27 AM Re: Anonymous Ftp Question
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,515
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
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!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Anonymous Ftp Question
 

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 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.71575 seconds with 12 queries