Re: setting up FTP account names via PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2009-01-05 at 16:16 +0100, Merlin Morgenstern wrote:
> Is there a good FTP Daemon that can be recommended for this purpose? 
> pure-ftpd seams out of development since 2006.
> 
> 
> 
> Jason Pruim wrote:
> > 
> > On Jan 5, 2009, at 9:55 AM, Merlin Morgenstern wrote:
> > 
> >> Yes, it would be great if he could use the already existing username 
> >> and password. It should not be a one time password.
> >>
> >> I am just now looking into mysql support for pure ftpd. One solution I 
> >> have in mind is to write the password into the pureftp DB upon signup.
> >> That would be the easiest. The other solution to write to a conf file 
> >> would be OK, too. What do you think?
> > 
> > I would look real seriously at making sure both the FTP software, and 
> > your website use the same authentication database. Even if it means 
> > having to go with a different FTP server, or write your own. That way, 
> > if they change their password on the web site, it will update it for the 
> > FTP automatically as well.
> > 
> > Other then that, No real info to include to help... Sorry for that.
> > 
> > -- 
> > Jason Pruim
> > japruim@xxxxxxxxxx
> > 616.399.2355
> > 
> > 
> > 
> > 
> 
I did this with vsftp and with local user account access turned on.
Basically, I had php exec out and create a user, set their password,
etc, which would then allow them to ftp in. It was a bit of a nightmare
getting the access levels right (as the client wanted them to not only
be able to access their own home share but other areas as well, which
would all change) but it seems to be working out nicely.


Ash
www.ashleysheridan.co.uk


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux