Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Login/Password module for CGI (Moved from Q&A)

by eak (Monk)
on Aug 01, 2000 at 23:53 UTC ( #25564=note: print w/replies, xml ) Need Help??


in reply to Login/Password module for CGI (Moved from Q&A)

What I would I would do is create a PerlTransHandler that is used as a gateway for authentication. You would probably have to use Apache::Session as well to track whether a user is 'new' or not. This is how it would work. A user would hit a link that requires authentication, which can be set at the apache conf level using 'PerlSetVar Auth 1' in a <DIRECTORY> directive, if they are not auth'd, rewrite the uri to take them to a login form. Existing users would be given the option to validate themselves. I am not sure exactly what you want to do with validated users, but chances are you will need some sort of cookie/session tracking. --eric
  • Comment on Re: Login/Password module for CGI (Moved from Q&A)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://25564]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2022-01-16 18:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (49 votes). Check out past polls.

    Notices?