When reading about SameSite
attribute I came across the term top-level navigation
.
As I understood it, it's when user has website1.com
open in browser and then clicks the link that navigates browser to some other site eg. website2.com
. But this is a loose definition.
So what exactly is top-level navigation
in browser terminology? Is there some specification or RFC with strict definition of this term?
Can it be triggered in ways other than clicking a link that leads to another website (ie. having <a href="website2.com">website2.com</a>
on website1.com)? What about if I just enter website2.com
url directly in the browser's navigation bar, is that considered a top-level navigation
?
Also, is top-level navigation
important in other areas of browser/http/security beside using it with cookies and SameSite
attribute?
strict
value means that website1.com navigating to login.website1.com at a different subdomain (even with the same domain) means no cookies will be sent. – Fagan