Thats the problem with allowing remember me cookies for passwords, if it was just username cookie it would not be an issue.. am i correct ? Or those cookies need to be replaced or removed from that table more often
There is nothing 100% but i agree, authoritative data should be stored in a cookie or session. But thats one reason why you want to use https because the stream is more secure.. If someone gets ahold of your db data then nothing can save you, its all over.... So long passwords, shutting down brute force and all of that other server protection is going to help save you. But if someone really wants what you have, there is not much that can stop them, that is just how it is.... if they have the patience and devotion to work night and day, they will find a way in.
However, most of the time they are not even interested in such sites unless they can use a weakness in your site to get to the server data.
This is 8 years old and somethings have improved but it is still worth reading.
stackoverflow.com/questions/10566988/what-is-the-correct-and-safe-secure-way-to-keep-a-user-logged-in-cookies-sessi
Marcus, did you know that part of what suhosin does is provide cookie encryption. I just learned that myself.
en.wikipedia.org/wiki/Suhosin
Also some other bad news:
suPHP is not maintained any longer and will not receive any further updates not even security patches.
If you want to continue using suPHP, feel free to create a fork (the complete code is licensed under the GPL version 2).
If you are looking for an alternative, have a look at php-fpm.
There also is a fork of suPHP maintained by John Lightsey on GitHub.
www.suphp.org