Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: User/Password Passing for a DB

by echo (Pilgrim)
on Aug 09, 2001 at 17:59 UTC ( #103401=note: print w/replies, xml ) Need Help??

in reply to User/Password Passing for a DB

You seem to be doing CGI. Don't send user name and passwords over the wire. Instead, generate a session ID, and use that as a key to retrieve session information, such as username/password, from a file or database. Then you only need to pass around the session ID. You can do this with a cookie or appended to the scripts URL (in PATHINFO). Check out Apache::Session and Apache::AuthCookie.

Log In?

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

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

    Results (64 votes). Check out past polls.