Gossamer Forum
Home : Products : DBMan : Discussions :

Authentication

Quote Reply
Authentication
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 In reply to
1) Why did you post this Thread twice? Duplicate Threads are a waste of Gossamer Thread's disk space.

2) You could possibly use default.db rather than using default.pass, but it would be a bit complicated and storing all the user's info in one file is prone to be easily hacked.

Regards,

Eliot Lee