The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Help with user login
cyber-guys
post Apr 28 2008, 11:05 AM
Post #1





Group: Members
Posts: 3
Joined: 28-April 08
Member No.: 5,536



I need to add a client login to a web site - when the client logs in he needs to be redirected to a specific folder that contains documents specific to him.

Our host is running apache and I plan on using password protected folders - currently clients are given a link that directs them directly to the folder where they enter their userid & password. I want to change that to a form that asks for user id, password and directs the user to the proper folder based on the userid (folder name = userid) and passes the password to the apache login.

I would like to be able to do this on the client side if possible as I am clueless about server side stuff - perl, cgi, etc.

Any help would be greatly appreciated.

Thanks in advance,
Cyber-guys

http://www.windfieldalloy.com/login.htm (links to a specific client login)
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Apr 28 2008, 11:16 AM
Post #2


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



One of these CGI homepage-community programs or these PHP homepage-community programs may meet your needs.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
cyber-guys
post Aug 30 2009, 01:40 PM
Post #3





Group: Members
Posts: 3
Joined: 28-April 08
Member No.: 5,536



Right now our clients access their reports by a link to a protected folder - each client has their own link with multiple logins assigned to each. I would like to add a form that the user can enter their account# (its also the folder name) and be redirected to that folder (mycompany.com/acct#)

I thought I could do it with forms and get but I haven't been able to figure it out - if anyone has any ideas please let me know.

Thanks in advance,
Cyber-guys
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Aug 30 2009, 09:58 PM
Post #4


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



Well, the forms aren't the hard part. It's the server-side (e.g., CGI, PHP) software that's the hard part.

It sounds like you're using basic HTTP authentication now. AFAIK, you can't have a form submitted to the server set a browsers credentials for basic HTTP authentication. So if you want to use a form that is submitted to the server, then you'll need to implement all the security with your own server-side programs.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 26th April 2024 - 08:33 AM