$ ./guess_the_languageCybersecurity
Cybersecurity · hard · #319

What does the __Host- prefix require of this cookie?

Set-Cookie: __Host-sid=abc; Secure; Path=/
  1. HttpOnly and SameSite=Strict
  2. Secure and a Max-Age value
  3. A Domain matching the host
  4. Secure, Path=/ and no Domain
Browsers only accept a __Host- cookie set over HTTPS with Secure, Path=/ and no Domain attribute, locking it to the exact host so sibling subdomains cannot overwrite it.
Play Cybersecurity ▸