I'd like to have sessions data encrypted like they are in suhosin, is there any library out there providing that?
+2
A:
You could easily use mcrypt or a custom AES encryption to encrypt session data. The best bet would to create a session wrapper class that encrypts variables when you set them.
For key management, you could create a unique key and store it in a cookie, so that only the user can decrypt their own session data.
Jestep
2009-11-08 14:26:01
I think he is more looking in out of the box solution ....
RageZ
2009-11-08 14:28:13
Actually, I have done that with functions, but you get me to go with session wrapper class ... thanks, it's exactly what I was looking for.
Paul
2009-11-09 04:43:54