Re: FTP and security
| From: | Marco Tabini | Date: | Tue, 26 Nov 2002 17:35:30 +0000 |
| Subject: | Re: FTP and security | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-126138@lists.php.net to get a copy of this message | ||
Rich,
Why don't you create an ssh tunnel between your two boxes and then
perform you ftp connection through there? This way, the connection would
be secure and you could impersonate whichever user you need to.
There is also a secure version of ftp, but I don't think that it can be
instantiated directly from PHP, and you would therefore have to run it
from a shell, which would give the same problems you have with ssh now.
Marco
--
------------
php|architect - The magazine for PHP Professionals
The first monthly worldwide magazine dedicated to PHP programmers
Come visit us at http://www.phparch.com!