Re: FTP and security
| From: | Jason Wong | Date: | Tue, 26 Nov 2002 18:59:26 +0000 |
| Subject: | Re: FTP and security | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-126148@lists.php.net to get a copy of this message | ||
On Wednesday 27 November 2002 01:42, Richard Fox wrote:
> To relate this to php, I am ready to give up
> trying to make my
>
> system("scp ......");
>
> code work, because I will have to give the apache user more permissions
> than I am comfortable with.
What exactly are the problems you're encountering using scp?
So, I am thinking fo using php's ftp commands
> instead. I see nowhere in the documentation however, if the ftp_connect can
> be done via the ssh transport mechanism. Or, is this unnecessary, and can I
> use ftp (with plain text user and password passed to ftp_login()) on port
> 21 without worrying about getting hacked?
Well, if you're going to be using ftp-over-ssh, I don't see why you're not
using scp directly instead.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
"Those who do not do politics will be done in by politics."
-- French Proverb
*/