I'm working on a website right now.. Nevermind what, but some of you might already know. In any case, there will be users who log in, and I want to know, purely in logic, how to make it secure enough.
Am I right in thinking that storing the md5 of the password, then checking the password on login against that, logging the IP address of whomever is logging in, and then having it recheck the IP against that stored IP each page load, and kicking them out if it changes is secure enough?
If that isn't correct, can anyone clue me into the correct logic here? I'm not one for security really.. That is, I've not done much in the way of things that need it.
Any help is pre-thanked-for.
Am I right in thinking that storing the md5 of the password, then checking the password on login against that, logging the IP address of whomever is logging in, and then having it recheck the IP against that stored IP each page load, and kicking them out if it changes is secure enough?
If that isn't correct, can anyone clue me into the correct logic here? I'm not one for security really.. That is, I've not done much in the way of things that need it.
Any help is pre-thanked-for.