3 ms·
You'd think a higher level domain should be able to specify whether a subdomain can set cookies for it or not.
by mavhc 13y ago
You'd think a higher level domain should be able to specify whether a subdomain can set cookies for it or not.
- jffry 13y agoThat would be nice, but it would have a lot of ramifications. Before setting the cookie, the browser would need to know if it's allowed, so presumably it would have to load some file. Perhaps this could be done in a manner similar to CORS requests
- homakov 13y agoContent-Security-Policy: can-set-cookies: no! BTW if JS is of we can use <meta http-equiv Set Cookie>