Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
5 registered (24hourcampfire, Bill B, ECNet, FordDoctor, 1 invisible), 15 Guests and 22 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 01/10/04
Posts: 1703
Top Posters (30 Days)
Ruben Rocha 179
Gizmo 112
Rick 109
Thelockman 80
driv 43
AllenAyres 35
ntdoc 28
Ian 24
Sirdude 23
ScriptKeeper 20
Latest Photos
My Home System
test photo gallery
Bernese Mountain Dogs
My Daimler
Dorado and shark
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: 2077
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: 12006
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
brushie, cass, Monte G., twebman, White Gold Wielder
Recent Topics
Shrinking graemlins
by Djuma
Today at 05:48 PM
2 problems I'm seeing now.
by DougMM
Today at 04:39 PM
Which CSS Style Controls the bottom lines
by David DelMonte
Today at 01:51 PM
UBBThreads vs. vBulletin -- Defections & Why So Tough to Compare?
by WebMagic
Today at 12:28 PM
Font and column shifts occuring
by Bill B
Yesterday at 06:21 PM
Forum Stats
4261 Members
33 Forums
30532 Topics
154962 Posts

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