On Thu, Sep 22, 2016 at 12:31 PM, Curtis Maloney <cur...@tinbrain.net> wrote:
> They're just a random string, I don't see how turning them into another
> random string will help? Or do you mean to set the original string in the
> cookie only, and hash them for the key, and hash them _every_ _time_ you
> look up the session?
I'm an attacker and I've found a way to read the session database
table. I can now impersonate user Bob.
If the session-ids were hashed, I would need still need to know's
Bob's session-id. Django woudn't store it anywhere on the database.
You received this message because you are subscribed to the Google Groups
"Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.