Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Re: [DoubleJJ] Outside User Authorization / Decrypt Password?

Quote Reply
Re: [DoubleJJ] Outside User Authorization / Decrypt Password? In reply to
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
Subject Author Views Date
Thread Outside User Authorization / Decrypt Password? DoubleJJ 3758 Mar 17, 2003, 11:23 PM
Thread Re: [DoubleJJ] Outside User Authorization / Decrypt Password?
Alex 3719 Mar 18, 2003, 1:47 AM
Post Re: [Alex] Outside User Authorization / Decrypt Password?
DoubleJJ 3708 Mar 18, 2003, 7:18 AM
Thread Re: [Alex] Outside User Authorization / Decrypt Password?
DoubleJJ 3690 Mar 19, 2003, 6:09 PM
Thread Re: [DoubleJJ] Outside User Authorization / Decrypt Password?
Jagerman 3660 Mar 20, 2003, 12:07 PM
Thread Re: [Jagerman] Outside User Authorization / Decrypt Password?
DoubleJJ 3675 Mar 20, 2003, 2:01 PM
Post Re: [DoubleJJ] Outside User Authorization / Decrypt Password?
Jagerman 3655 Mar 20, 2003, 2:37 PM