RE: NEWBIE! WO Authentication
RE: NEWBIE! WO Authentication
- Subject: RE: NEWBIE! WO Authentication
- From: Ray Ackland <email@hidden>
- Date: Tue, 4 Mar 2003 16:20:56 +1300
Adrian,
I find myself to be in a place very similar to yours. I have just
finished the tutorials and am working on my first "real" project.
The way I approached the situation was to create a database table of
users (was also relevant as was presenting data appropriate to the
user, so needed a login). I then created the Main page with 2 fields
(login & password) and then had a fetch for records matching those
entries.
If there was one matching record (hopefully there will never be more
than one) then the user was validated.
I also altered it at a later stage where it did the fetch to match the
login id, and then did a comparison to see if the password matched.
This was just so I could give a different error message dependant on
whether the login was bad, or the password.
I don't know if there are more secure methods, but there is one option.
Ray.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.