[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Accessing DB from scripts ?'s
-----BEGIN PGP SIGNED MESSAGE-----
Ok, 'cuz I need to know. There's these two awesome mod_perl modules that
will make doing the authentication and authorization easy as 1 2 3.
However it only supports passwords stored via crypt() or unencrypted. So
obviously one of those would be best.
If MySQL uses something else, I think the easiest thing to do is change
the table to store the passwords as unencrypted, and have the user add
form call a CGI which calls crypt() before storing it in the table.
- --
Aaron Turner | Either which way, one half dozen or another.
aturner@pobox.com | Check out the Red Hat Linux User's FAQ Online!
www.pobox.com/~aturner | http://www.pobox.com/~aturner/RedHat-FAQ/
All emails from this account are PGP signed. Lack of a signature is "bad".
PGP Key fingerprint = FB E1 CE ED 57 E4 AB 80 59 6E 60 BF 45 1B 20 E8
On Mon, 8 Mar 1999, Jason Pincin wrote:
> > 2) MySQL, how does it store passwords? crypt() I assume?
>
> There's been questions flying all over about this... MySQL stores passwords with
> it's password() function... and I'm not sure if it uses crypt() or not. I'll hafta
> research that. Ya may want to search on password() in the MySQL docs. I'll do so
> today.
>
> jASON
>
>
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBNuQ1GjM3jpXy1kJtAQHN0AQAnzuX211ZpcxAUwkvq21p2UxPetOyhk3T
S4j0CnN9D5YTU9ZtragLvFm6k3kqv8Ts1rkptEUWCtuVaqCFjS0on1C94XYAii+b
SAP6FRZfU4uADKvLIWXw00dpjaIPyB7WVL1mfXjnuruYNHmuhDUX3nFVZZFDbXlz
ThxJAxN0pm0=
=YGsr
-----END PGP SIGNATURE-----