Just the Facts · Article
Cookies without locks
Three settings, one line of configuration each. Most sites set none of them. The shortest article on this page, on purpose.
A cookie is a small piece of text your site asks the visitor's browser to hold on to and send back. Three optional settings control who else can get at it. Most sites leave all three off, which is how a cookie meant for you becomes a cookie for anybody.
Secure
Without it, the browser will send the cookie over an unencrypted connection. Anyone sharing a café or airport network can read it. In 2010 a browser extension called Firesheep made this trivial enough that a non-technical person could hijack strangers' logged-in sessions from the next table — which is what finally pushed the industry to encrypt everything.
HttpOnly
Without it, any JavaScript running on your page can read the cookie — including a script that got there by accident: a compromised plugin, an injected comment, a third-party tag whose owner changed. With it, the cookie is invisible to scripts and only ever travels between browser and server.
SameSite
Without it, the cookie is attached to requests that another website caused the visitor's browser to make. That's the mechanism behind cross-site request forgery: a visitor logged into your site visits somewhere else, that page quietly triggers a request to yours, and their browser helpfully includes their session. "Lax" is the sensible default; "Strict" for anything sensitive.
That's the article. Three flags, one consequence each, and on most platforms it's a configuration change rather than a code change. Not every finding needs a thousand words, and a page where everything is the same length is a page padded to look thorough.
One caveat so the report doesn't mislead you: cookies set by services you don't control — your CDN, your consent manager, your payment provider — are configured by them, not you. We flag them so you know they're there, but the ones to fix are your own.
Technical guidance, not legal advice. Changing cookie attributes can affect how your site behaves across subdomains — test before deploying.
Sources
More from Just the Facts
- Is Any of This Actually Real?
- How Real Is the Threat? A By-the-Numbers Risk Assessment
- Who's Really Suing — CIPA Website-Wiretap Filers
- When the Court Reins One In: the Vivek Shah Vexatious-Litigant Ruling
- The Demand-Letter Economy
- Verifying Licensed Images, Fonts & Video
- Copied Content: Plagiarism, Copyright & the Hidden SEO Risk
- Passwords, Backups & VPNs: the security that decides whether a breach sinks you
- Website accessibility is the most-sued thing on the internet
- Your cookie banner probably isn't doing anything
- The instructions your website isn't giving the browser
- Three real demand letters, eighteen years apart
- The privacy signal your site is ignoring
- Code you didn't write, running on your site tonight
- Three documents nearly every site gets wrong
- What an accessibility statement is actually for
- Anyone can send email as you