Home : Products : Gossamer Forum : Discussion :

Products: Gossamer Forum: Discussion: Re: [DoubleJJ] Outside User Authorization / Decrypt Password?: Edit Log

Here is the list of edits for this post
Re: [DoubleJJ] Outside User Authorization / Decrypt Password?
Hi,

Are you trying to modify Imagefolio to authenticate off Gossamer Forum or modify Gossamer Forum to authenticate off Image Folio?

I'm assuming the first. Basic steps would be:

1. Select from the database the user_password where Username = 'Foo'
2. Compare the input with the database with:

require GT::MD5::Crypt;
$password_good = ($db_encrypted eq GT::MD5::Crypt::gt_md5_crypt($form_cleartext, $db_encrypted));

3. If password_good is true, then it's the right password, if not, then it's wrong.

Hope that helps,

Alex
--
Gossamer Threads Inc.

Last edited by:

Jagerman: Mar 18, 2003, 5:13 PM

Edit Log: