Category:WASS Session Managment
Take measures to securely manage user identification.
Because HTTP is a stateless protocol, applications have to provide a mechanism where users are uniquely identified, and their current status in the system is preserved between operations. This can be achieved by providing each user with an identifier that follows them through the application. Protection of this identifier is very important because if its value is discovered, an attacker can masquerade as another user and access information or perform operations on his/her behalf.
- The single, unique, user identifier should meet the following requirements.
- Generated each time a user logs in
- Destroyed and reset to have no permission when a user logs off
- Generated based on a pseudo-random number generation scheme with good entropy
- Should be of a reasonable length such that it can not be guessed during the expected period of validity (or lifetime).
- Becomes invalid (sessions should time out) after a reasonable period of inactivity
- Users should not be allowed to request a specific identifier
- Identifiers should be transmitted over a secure connection
- Identifiers should be managed ONLY on the server-side.
La categoría no contiene ninguna página o archivo.