Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
4 registered (Harold, packlite, Thelockman, 1 invisible), 27 Guests and 20 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 08/18/06
Posts: 572
Top Posters (30 Days)
Ruben Rocha 95
Rick 85
Mark S 74
Gizmo 49
Thelockman 49
driv 35
Sirdude 32
ntdoc 28
packlite 27
AllenAyres 25
Latest Photos
bear test
Beach Barbie-Q
Sunset
Accept the challenge!
Trees
Topic Options
Rate This Topic
#216278 - 08/07/08 07:02 AM Using the USERS DB for other app login verification
ThomasM Offline
stranger

Registered: 12/24/03
Posts: 10
I want to use the Users table to authenticate my users on other web pages also.
I'm coding in coldfusion, and when i look into the users table, the password is encrypted, how do unencrypt it to compare to what they are entering?

Also, unfortunately i'm not a PHP person, so how is the session validation carried once the user logs in succesfully?
Cookies? Session variables?

Thanks,
Thomas

Top
#216280 - 08/07/08 07:53 AM Re: Using the USERS DB for other app login verification [Re: ThomasM]
Sirdude Moderator Offline

*****

Registered: 04/19/07
Posts: 2129
Loc: SoCal, USA
you can't decrypt to a nice ascii representation.. it's an md5 hash.

so what you'll need to do is take the ascii from what they entered and md5 it, then compare with the DB..
_________________________


Top
#216282 - 08/07/08 07:54 AM Re: Using the USERS DB for other app login verification [Re: Sirdude]
ThomasM Offline
stranger

Registered: 12/24/03
Posts: 10
Thanks, md5 is what i needed!

Top
#216311 - 08/08/08 01:31 AM Re: Using the USERS DB for other app login verification [Re: ThomasM]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 12089
Loc: Portland, OR; USA
It's simple to compare using MD5, you'd have a form which would accept the user/pass, and your pass variable would be something like;
$pass = md5($_GET["pass"]);

You'd ofcoarse want to sanitize all user input however
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
#216317 - 08/08/08 05:03 AM Re: Using the USERS DB for other app login verification [Re: Gizmo]
ThomasM Offline
stranger

Registered: 12/24/03
Posts: 10
Actually I’m using coldfusion to authenticate against the ubbt db. It uses HASH but i had to specify the algorithm to use.

Thanks Again.

Top


Shout Box

Today's Birthdays
theregit
Recent Topics
7.4.2 UNREAD
by Thelockman
7 minutes 20 seconds ago
7.4.1 show/hide category bug
by Seattlebrian
Today at 11:56 AM
7.4.2 Discussion
by Rick
Today at 10:21 AM
UBBCentral now running 7.4.2
by Rick
Today at 10:21 AM
New members don't get access and are not displayed in the config panel
by Yomar
Yesterday at 03:32 AM
Forum Stats
4298 Members
33 Forums
30693 Topics
156039 Posts

Max Online: 978 @ 06/24/07 08:19 PM