Hi everyone,
I've been working on a multi-user, multi-access-level admin system for my database driven web sites, and I'm concerned about security holes within my code.
I'm pretty sure I've addressed the obvious stuff, such as one way encrypted passwords (md5) and input validation on all $POST and $GET variables to prevent code execution and sql injection.
I'm a bit new to sessions though, which is my major point of concern. The articles I've read so far are a bit confusing, but I've taken their advice by using session_regenerate(), ensuring that sessions have a timeout and re-validating passwords for extra sensitive functions such as user/password changes.
I don't use cookies, so I don't worry about that.
The multi-user design of this system means that I can't use .htaccess password protection?? (Correct me if I'm wrong)
Have I got any of this wrong and are there any other things I should be on the lookout for? Are there any good sites or Linux programs to test for php code vulnerability?
I would greatly appreciate any advice to help put my mind at ease.