FTP login via PHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

MadsC
Forum Newbie
Posts: 10
Joined: Tue May 03, 2005 2:22 pm
Location: Denmark

Post by MadsC »

Think I know what you mean now... Though it's send in the header it isn't completely hidden. Firefox will save the location with the password to it's history list.
User avatar
phpScott
DevNet Resident
Posts: 1206
Joined: Wed Oct 09, 2002 6:51 pm
Location: Keele, U.K.

Post by phpScott »

sorry I didn't know that 'feature' in firefox :(
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

it's impossible to give them personalized ftp access, without an account.

what you could do is periodically change their ftp password. Or make the account expire very shortly after the redirection script has run (so they have the time login (through redirect), but after they can't use the account anymore).

I think this relatively easy to accomplish if your ftp daemon uses a mysql or ldap backend (instead of the default /etc/passwd).
MadsC
Forum Newbie
Posts: 10
Joined: Tue May 03, 2005 2:22 pm
Location: Denmark

Post by MadsC »

The users have personalized FTP-accounts.

Unfortunately, I can only change the passwords manually.

I think I will just make a combination of my old filesystem with an option to log in to the FTP-server (since the otherwise apparently does not have a straightforward solution when I do not have full control over the server)

Again, thank you for your time, all of you.
Post Reply