News for hackers. Stuff that matters.
Re:News from WWDC23: WebKit Features in Safari 17 Beta by littlecranky67 on Tuesday June 06, 2023 @07:11PM (#36220388)
> Auth with local storage can be quite nice

With the `SameSite=strict` option on modern browsers and the `HttpOnly` (plus `Secure` to only run in SSL secured context), Cookies are more secure and the way to go instead of storing credentials anywhere accessible from within JavaScript. Before SameSite=strict, cookies were a security nightmare and often resultet in XSRF attacks, and required XSRF mitigations (like xsrf tokens), but this is no longer the case as all modern browsers support it.

There are no comments on this comment yet.