Hi, I've code this authentification system for a website and I want to get feedback on the methods used.
SSL is used to access the website (AES-256). Times out after 10 minutes of idling.
MD5 hash are used to store password in DB and compare with user input when loggin in.
Once connected/authenticated, the session is kept open by verifying PHP Session ID, IP that was used when first authenticated, and SSL Session ID. If any of those doesn't math up, the session is invalid and the user must log back in.
One session beeing defined by going to the web site, loggin in, and ending when the user clicks on the "Logout" button or closes the browser (or goes to another website, this will brake the SSL connection and when the user returns he'll get a new SSL Session ID making the session invalid).
I'd apreciate any feedback...
This website doesn't really needs to be that secure but I'm really curious to see what else can be done. I also wonder how banks secure their website for e-transactions.
Matt