Forum Moderators: coopster & phranque

Message Too Old, No Replies

UserID and Password to their own specific directory.

         

NiceMarmot

10:02 pm on Apr 9, 2003 (gmt 0)

10+ Year Member



Hello All.

I'm looking for a PERL or PHP script that will allow me to direct clients via their UserID and Password to their own specific directory for ftp transfers on our server. I know how to create the form and password protect the directories, I just need a way to process the info so that they don't see everything else on the server. Thanks much!

NM

eaden

7:47 am on Apr 10, 2003 (gmt 0)

10+ Year Member



For "their own specific directory for ftp transfers on our server" you'll need to chroot the user to their ftp directory. This has nothing to do with php but with the ftp server. I know proftpd can do this.

If you mean just a folder index like apache does then thats a different story.

NiceMarmot

5:30 pm on Apr 10, 2003 (gmt 0)

10+ Year Member



Thanks eaden. I guess all I really need is a very simple script that takes the inputted user name and directs them to the url of their folder i.e:

www.mydomain.com/clients/[user name]

From there I could have them enter their password.

I know this is easy to do, but I'm just a designer, not a programmer. Any help would be greatly appreciated.

Thanks

NM