|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I use apache and .htpassw files to create secure folders for my customers
to access/view. The problem with this is i have to keep giving out new url's for each customer example: mydomainname .com/customer1/ mydomainname .com/customer2/ mydomainname .com/customer3/ mydomainname .com/customer4/ etc Can anyone suggest what woud be the best way to create a central screen login where they enter the username and password on the home page. mydomainname .com and then depending on their username and pass it takes them to the correct folders. I only have a general knowledge about such things therefore I would very much appreciate some advice if anyone understands what I am trying to do. Is php the way to do this? Thanks in advance for anyone that can reply Jim |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On Fri, 10 Aug 2007 10:38:53 +0200, Jim <me@privacy.net> wrote:
> I use apache and .htpassw files to create secure folders for my > customers > to access/view. > > The problem with this is i have to keep giving out new url's for each > customer > > example: > > mydomainname .com/customer1/ > mydomainname .com/customer2/ > mydomainname .com/customer3/ > mydomainname .com/customer4/ > etc > > Can anyone suggest what woud be the best way to create a central screen > login where they enter > the username and password on the home page. > > mydomainname .com > > and then depending on their username and pass it takes them to the > correct > folders. > > I only have a general knowledge about such things therefore I would very > much appreciate some advice if anyone understands what I am trying to do. > Is php the way to do this? Does this ? <http://www.php.net/manual/en/features.http-auth.php> Possibly also use sessions and/or take advantage of Apache's mod_rewrite. -- Rik Wasmus |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
"Rik" <luiheidsgoeroe@hotmail.com> wrote in message news p.twuhgoykqnv3q9@metallium...> On Fri, 10 Aug 2007 10:38:53 +0200, Jim <me@privacy.net> wrote: > >> I use apache and .htpassw files to create secure folders for my >> customers >> to access/view. >> >> The problem with this is i have to keep giving out new url's for each >> customer >> >> example: >> >> mydomainname .com/customer1/ >> mydomainname .com/customer2/ >> mydomainname .com/customer3/ >> mydomainname .com/customer4/ >> etc >> >> Can anyone suggest what woud be the best way to create a central screen >> login where they enter >> the username and password on the home page. >> >> mydomainname .com >> >> and then depending on their username and pass it takes them to the >> correct >> folders. >> >> I only have a general knowledge about such things therefore I would very >> much appreciate some advice if anyone understands what I am trying to do. >> Is php the way to do this? > > Does this ? > <http://www.php.net/manual/en/features.http-auth.php> > > Possibly also use sessions and/or take advantage of Apache's mod_rewrite. > -- > Rik Wasmus HI This appears to work into the same way to my current method with a popup window username and pass box. I am trying to create a username/passord box within the webpage like you see on so many sites, i.e.not a popup |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
Le Fri, 10 Aug 2007 09:38:53 +0100, Jim a écritÂ:
> I use apache and .htpassw files to create secure folders for my > customers to access/view. > > The problem with this is i have to keep giving out new url's for each > customer > > example: > > mydomainname .com/customer1/ > mydomainname .com/customer2/ > mydomainname .com/customer3/ > mydomainname .com/customer4/ > etc > > Can anyone suggest what woud be the best way to create a central screen > login where they enter > the username and password on the home page. > > mydomainname .com > > and then depending on their username and pass it takes them to the > correct folders. > > I only have a general knowledge about such things therefore I would very > much appreciate some advice if anyone understands what I am trying to > do. Is php the way to do this? > > Thanks in advance for anyone that can reply > > Jim Helo Jim, If you don't want to use HTTP-Authentication, then you MUST manage everything your users can do with a server side script (in PHP/PERL/ Python/C... what ever you want and made available by your hosting provider) If users folders are just directory containing listed files, then you MAY keep your current loggin system. Meanwhile, you can create a server side script to manage new accounts actions (creating users directory skeleton, adding username/password to .htpasswd, informing users about their personnal URL on your server...). The advice we'll be able to provide mainly depends on what you have and what you want. I guess I'm out of ideas with the current details. Julien |
|
![]() |
| Outils de la discussion | |
|
|