Browser & Web Performance · Senior · Question 55 of 75

What does the __Host- cookie name prefix guarantee?

Set-Cookie: __Host-session=abc; Secure; Path=/; HttpOnly; SameSite=Lax

Explanation

It defends against cookie tossing from a compromised or user-controlled subdomain.

Further reading

Problem with a question

Browser & Web Performance · Senior · question 55

Test yourself

Take the Browser & Web Performance · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz