Show HN: WebSession, a Secure Replacement for Cookies
websession.dev
Show HN: WebSession, a Secure Replacement for Cookies
1–10 of 113 posts
Re: Show HN: WebSession, a Secure Replacement for Cookies
#2I'm a big fan of Firefox's Total Cookie Protection and make extensive use of the "Temporary Containers" extension, so I will likely disable this feature as well if it becomes standard because it eventually boils down to making tracking easier.
Re: Show HN: WebSession, a Secure Replacement for Cookies
#3Is it sort of like a "rich mans" CSRF token, but you don't need to put it in the form, and it works on all requests GET, POST, ..., and is cryptographically secure etc.
Re: Show HN: WebSession, a Secure Replacement for Cookies
#4I would caution framing it as a secure replacement for cookies, it’s a secure replacement for session ID token cookies. Tons of cookies aren’t just opaque IDs.
Re: Show HN: WebSession, a Secure Replacement for Cookies
#52. https://www.okta.com/blog/2023/06/a-leap-forward-in-token-se...
Re: Show HN: WebSession, a Secure Replacement for Cookies
#6By the way, the Github link at the top of the page is 404.
Re: Show HN: WebSession, a Secure Replacement for Cookies
#7Feels like there is a similar algorithm to get that than what is proposed here
Re: Show HN: WebSession, a Secure Replacement for Cookies
#8Not going to comment on the technical merits of this proposal because it's not my area of expertise but as a user I look at any proposal in this space with extreme caution (because most of the time "the man" really is out to "get you" - see "Web Environment Integrity"). I'm a big fan of Firefox's Total Cookie Protection and make extensive use of the "Temporary Containers" extension, so I will likely disable this feat…
Re: Show HN: WebSession, a Secure Replacement for Cookies
#9> Validating that the nonce has not been used already for this session. Important: at this point, the nonce should be added to the ‘seen’ set, because nonces should be invalidated whether the signature validation passes or fails. Failure to do so can allow attackers to brute-force a valid signature for a single nonce.
That's one extra db row / kv pair for every single request, including read requests, for very little benefit.
Request signatures incorporating timestamp and optionally path/payload are stronger, can be statelessly validated, and are already in use today on certain sites.