H
H
hloya_ram2018-11-07 07:03:26
User identification
hloya_ram, 2018-11-07 07:03:26

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

1 answer(s)
D
Dimonchik, 2018-11-07
@hloya_ram

harder to steal than picking up a sesure_string and then sorting through typical password hashes

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question