What does the __Host- prefix require of this cookie?
Set-Cookie: __Host-sid=abc; Secure; Path=/
- HttpOnly and SameSite=Strict
- Secure and a Max-Age value
- A Domain matching the host
- 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 ▸