I have been looking at this:
http://www.phpbuilder.com/columns/tim20000505.php3
and apart from needing a bit of butchering for php4 it looks pretty secure. However, I was hoping for some suggestions on how to make it more secure... reading the comments people have suggested using a stronger key on md5 (I think thats what they mean). How would I go about implementing this?
Does anyone have any other ways of making this virtually uncrackable? fair enough a hash can be decrypted, but if the key is like 128/256 bit it would take so long as not to be worth it. The package it is for would be mostly on dedicated servers, the occasional shared hosting, so in the majority - and all of the sites that need to be secure - only myself would have root access to the server, which I noticed could be a loophole (on shared hosting anyone with root access could get the db login details).
Also - I know this is not secure enough for financial details, and at the moment it does not have to be. But where do I find information on making login and security scripts that are secure enough for this kind of sensitive material? As someone has commented on that article, using SSL is no substitute for bad code, it just protects the transaction path. Any help would be greatly appreciated. I just dont know what to search for on google to get the results I want.