|
|
|
|
|
by shadowfiend
5189 days ago
|
|
Yes, that's precisely what I'm saying. So, let me put it differently: what security advantage does an encrypted session cookie confer? I see two possibilities: - Someone who hijacks a request with the cookie in it cannot see the data in the cookie. But they can access the site as the user, so there is no real world benefit to this fact.
- Someone on the same computer cannot see the data in the cookie. But again, they have the cookie value, so they can access the site as the user, so there is again no real world benefit to the fact that they can't see the data in the cookie itself, because they can interact with the site and see the data there. I guess I'm just looking for an example scenario where the cookie being encrypted offers a concrete benefit from a security standpoint. |
|
Could be wrong here, I'm not very familiar with Yesod.