[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] secure transfer to remote site.
On Tue, 2004-07-13 at 13:41 +0100, Chris Johnson wrote:
> I've written a script in perl to collect stats from a clients PC and write
> them to a file. I want the clients PC to automatically upload the file it
> creates to my server once its finished creating it. Is there a way of doing
> this without leaving the ftp password for my server readable in the perl
> script?
Not really, no. You could obfuscate it, which would buy you a little
bit, but you can always work out what it is ultimately.
If it bothers you, write a CGI which just accepts files that it is given
and check them for any nastiness (too big, sent too often, sent from the
wrong IP address/range, etc.)
Cheers,
Alex.
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.