in reply to Cool CGI File Uploading

"2) When you submit the script, the CGI attempts a SOCK_STREAM connection to your computer, on a port that only YOU knows and asks for the file if it finds somebody listenning. The CGI knows your IP, provided that your are not behind a silly firewall, with $ENV{REMOTE_ADDR}."

If I am understanding you correctly, you are going to put FTP on another port besides 21 for security easons? That sounds security throiugh obscurity to me. Just my 2 cents.

redmist

Replies are listed 'Best First'.
RE: RE: Cool CGI File Uploading
by gaggio (Friar) on Jun 24, 2000 at 00:13 UTC
    Can you write an FTP script in 10 lines? No, no, it is much simpler than FTP.

    And security is just "extra". The main reason to use this system is to have one single form to update both files and text, without using POST file upload through the form.

    I like the rhyme, though, but I prefer clarity than obscurity, redmist.