Page 1 of 1

User Authentication

Posted: Thu Mar 31, 2011 5:05 am
by DoctorT
Hi!

To limit access to selected web pages to registered users, I was planning to authenticate the user by searching a MySQL database and, then, as pages are called, passing a session variable such as “access = true” to the selected web pages.

Am I planning to do the right thing? Any suggestions?

Thank you.

DoctorT

Re: User Authentication

Posted: Thu Mar 31, 2011 9:08 am
by social_experiment
DoctorT wrote:Am I planning to do the right thing?
You're on the right path with this. Search the security threads on here for more help on this as the topic has been covered at length.