I want to authenticate a user based on a cookie using Apache:
For accessing a url, I request a cookie. That cookie identifies the users:
The cookie "userAuthentication" contains the "username", the time the cookie was create and a hash function to ensure validity of the cookie.
The first time the user connects the url, the cookie is verified (checks that the hash is generated from username@creation-time). But the rest of the times that verification is not needed.
Can any tell me what modules do I have to use and an idea of how can it be done?