security - The best way to create log-in realm in PHP -
I can do the login area in PHP and the way I do it by setting a session variable and checking that Whether the session variable is set or not on each restricted page, I check whether a certain session variable is set (or equal to a certain value). If not, I will send the user back to the login page. What is the best way to do this? Is there a more secure way to do this?
There are answers to people with more safety.
Keep it low, you should think of SSL and other things like password hashing ...
Hope it helps :)
Comments
Post a Comment