4 ms·
And I feel like it's important to expand on the fact that Cookies are visible to JS by default as well, except if the Cookie has the `HttpOnly` attribute set. O
by brabel 2y ago
And I feel like it's important to expand on the fact that Cookies are visible to JS by default as well, except if the Cookie has the `HttpOnly` attribute set. Obviously, for auth, you absolutely want the session cookie to have both the `Secure` and `HttpOnly` attributes.
See https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies#block_access_to_your_cookies https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies#bl...