From: Jason k Larson <jlarson@harrison.org>
To: PgSQL-PHP <pgsql-php@postgresql.org>
Subject: RE: HTTP authentication
Date: Fri, 27 Apr 2001 12:45:18 -0600
Message-ID: <14461714625.20010427124518@harrison.org> (raw)
I have written a library to handle this. It is fairly secure
not allowing the password to be seen except as an MD5 digest. The
only requirement is being able to deal with the MD5 digest. For
instance I have a PgSQL Table with fields User ID, Username, Password,
and Status. I give each User and unique ID and the Password field
contains and MD5 digest of the password and I use status (boolean) to
tell me if the user is active or not.
If you are interested I could send you my library .. it's pretty
basic.
Jason k Larson
Web Developer++
CM> I guess simple HTTP authentication where I get the username and pass and
CM> check it with the database... Maybe encrypting.
CM> What would you recommend? I haven't done something like that before.
CM> It's my first project which needs authentication!
CM> Don't have a clue:)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: jlarson@harrison.org
Subject: Re: HTTP authentication
In-Reply-To: <14461714625.20010427124518@harrison.org>
References: <14461714625.20010427124518@harrison.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox