Reputation: 788
I plan not to use HTTPS for my web app. I used digest authentication as method to secure login to my system. And after user being authenticated, I simply send nonce to them periodically(1 min). When users make request, I simply check whether the nonce expires before I send them response.
I want to know whether it is necessary for me to protect users session_id
in case the attackers replay the nonce or guess out the nonce generation mechanism? And if yes, how do I secure the session_id
?
Upvotes: 0
Views: 228
Reputation: 9034
Take a look at Session Hijacking and Fixation
The best solutions to Session Hijacking/Fixation is:
Keeping these in mind, your program will be safe from Session Hijacking/Fixation.
Upvotes: 1