Free sites share one site until the Public Suffix List entry lands
Status. Lab and preview. This guide states a limit that holds today and says what to do about it (ADR-0605, revision item 3). The date of the Public Suffix List entry is not fixed: the request is filed at stage P3 and the maintainers decide (unverified).
What the limit is
Every free site and free app is served from a host under one content domain, for example {your-site}.{location}.{content-domain}. A browser decides what is "same-site" from the Public Suffix List. Until the content domain is on that list, all the sites on one content domain are the same site to a browser.
In practice, JavaScript running on another person's free site can set cookies that your site then receives (cookie tossing), because the browser treats the two as one site. The platform cannot fix this from its side; browsers pick up list changes slowly and nothing speeds them up.
What the platform does
- The first-party templates and the .NET starter default to __Host- cookies, CSRF tokens and Sec-Fetch-Site: same-origin checks. - A two-tenant JavaScript cookie-tossing test is part of the launch gate, so the defaults are tested, not assumed. - Each bucket host is its own site once the list entry lands; the entry lists *.{location}.{content-domain} and the s3 host of each live location.
What you should do
1. Use `__Host-` cookies. A cookie named __Host-session must be Secure, have Path=/ and no Domain; a sibling site cannot overwrite it by setting a Domain cookie. 2. Check `Sec-Fetch-Site` on every request that changes state: accept same-origin, refuse cross-site and same-site, and use a CSRF token as well. 3. Put production apps on a custom domain. Each custom domain is its own site, so another tenant's JavaScript cannot toss cookies to it. A free app on a shared content domain is fine for trying things out; a paid production app belongs on your own domain.
When this changes
When the content domain is on the Public Suffix List, every tenant host becomes its own site and this guide shrinks to the cookie advice, which stays good practice. Until then, treat free hosts as one site.
See also: free-tier limits.