I am rewriting a site that requires a normal level of security (i.e. not financial transactions, but user's personal accounts contain details that should be kept personal. - I do not want to get hacked!) I have rewritten the site using a simple session based authentication structure, i.e: User fills in form>username and password checked against DB>If successful, session variable of "username" is set. After that, all pages are simply checked (in a basic isset($_SESSION('username')) type way. If it is not, then the user is re-routed to a login page. I use a shared server (VPS) so it is hosted amongst other sites. Is this type of security going to be enough, or is it possible someone can hack a way to add a session variable themselves (I've sealed up against SQL injection and cleaned $_GET variables etc). Any thoughts? Many thanks Matt
This might be interesting to read. It's about session security. http://www.acros.si/papers/session_fixation.pdf
That's really useful, thanks. I was planning to administer an IP identifying version of the simple session vars authentication, looks like I should finish that off pronto! Anyone know any good security auditing firms (and I can;t do anything too pricy) Cheers Matt
Yes I can suggest you this guy: icq 125-238-613. He is a real pro, CTO of Premium-Security GmbH the german company that does exactly what you need and my good business partner. You can explain to him what you need and agree about the quotation. If you tell him that you were directed to him by Senpai, he will not rip you off
IMHO he has very reasonable pricing for remote hands and security testing. But if you tell him you are from Senpai, he will give you a discount.
lol I was only teasing... was just the way you phrased it Senpai. Much appreciated for the heads up. I will give him a PM when I get a chance Cheers for you help ya'll Matt
If you have not, please take a look at the PDF file that was linked to in this post. It contains some great information on security. I have bookmarked it to distribute to people. thanks for the information.