Answer the question
In order to leave comments, you need to log in
Why is a randomly generated hash safer than a user's session ID?
Hello, I would like to clarify.
If an attacker steals the administrator session cookie, he will become an administrator himself.
Similarly, if an attacker steals a username and password.
Why then is it said that a random session hash is safer than a hash created based on, say, login+password_hash+sesure_string ?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question