Quantcast
Channel: What is the best way to prevent session hijacking? - Stack Overflow
Viewing all articles
Browse latest Browse all 15

Answer by davej for What is the best way to prevent session hijacking?

$
0
0

Let us consider that during the login phase the client and server can agree on a secret salt value. Thereafter the server provides a count value with each update and expects the client to respond with the hash of the (secret salt + count). The potential hijacker does not have any way to obtain this secret salt value and thus cannot generate the next hash.


Viewing all articles
Browse latest Browse all 15

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>