Gossamer Forum
Home : Products : DBMan : Customization :

Authentication Alternative.

Quote Reply
Authentication Alternative.
Instead of authenticating the user(s) through default.pass file can we authenticate based on two other fields that reside in the database in the default.db file?

Example, instead of autheticating from this:
# UserID : Password : View : Add : Del : Mod: Admin
admin:A.f0Kvdiyy8q2:1:1:1:1:1


Going into the database and match any two of the below fields, lets say first field(18515) and sixth field(MI)?:
18515|0|#1 REAL ESTATE OF MICHIGAN|289 N. GRATIOT||MT. CLEMENS|MI|480430000|7|7|0|0|1994|7|7|1997|30|5|1997|82.68|KELLY LAUGHTER|KONCIA 2590 COPIER|36|0.00|400.00|0.00|0.00|0.00|0.00|0.00|0.00|1997|8|22|0.00|0.00|0.00|0.00|0.00|0.00|194.34|KONCIA 2590 COPIER|492208951|37 MACOMB PL.|1/97; 9'S 12/98|MT. CLEMENS|MI


And once those two fields match it will print out the rest.

Any help would be apreciated.

Cheerios


Quote Reply
Re: Authentication Alternative. In reply to
You can authenticate on anything you want. You just have to change some code either in db.cgi or auth.pl :)

I set mine up to assign a unique uid to default users as though they had logged in, then write that unique uid to the records that they added. Then they just include the uid in their URL when they want to modify or delete the records that they added.

Quote Reply
Re: Authentication Alternative. In reply to
And I have already responded to your duplicate Thread in the DBMAN Discussion Forum. Wink

Regards,

Eliot Lee