I am working on tightening every security nut and bolt I can down.
I’m looking at the setting called same site cookies. admin>settings>security>same site cookies
I only use the discourse system login, no social or other login.
I can’t find the answer to this by searching the terms I’m using so maybe I’m talking in the wrong terms here.
But can I turn this to strict?
I think so but I don’t wanna bork things by flipping a switch and invalidating all cookies that can even BE handed out or something crazy.
It is currently on lax and seems to be using same site cookies from what I can tell looking at cookies, which isn’t much.
AI-generated summary
In a support discussion titled “Same site cookies clarification,” usulrasolas seeks advice on whether they can safely set the “same site cookies” option to “Strict” in their Discourse instance, noting they only use system login and want to tighten security without breaking functionality. riking provides helpful documentation links (MDN and RFC) and explains that setting it to Strict may cause users to appear logged out when arriving via external links. usulrasolas confirms that, in practice, hyperlinks from emails and basic communications still work as expected, and the intended functionality is preserved — concluding it is safe to use Strict as long as external link logins aren’t required.
Here’s the MDN documentation to help understand what those mean:
RFC: draft-ietf-httpbis-cookie-same-site-00
Based on Section 3.2, I suspect setting it to Strict would make it appear as if you were not logged in whenever you came from an external link.
Short answer: It is safe as long as you do not intend users to appear logged in coming from an external link
In practice, hyperlinks in email and other basic communications seem to still work and intended functionality was preserved. Thanks for help.