4 ms·
Exactly - if you have a combination of trusted and untrusted subdomains, like www.mysite.com support.mysite.com wordpress.mysite.com Then it's impossibl
by dlubarov 12y ago
Exactly - if you have a combination of trusted and untrusted subdomains, like
www.mysite.com
support.mysite.com
wordpress.mysite.com
Then it's impossible to give only certain ones access to your session cookie.
You could use *.secure.mysite.com for all internal apps, but that seems ugly. You could also not use subdomains for any internal apps, like Google, but that's limiting in other ways - notably, it makes it impossible to have any security isolation between internal apps.
- spiralganglion 12y agoDownvoters — Please explain why this is a bad post. As someone in the process of learning how to run web services, explicit discussion of benefits and costs is very helpful.
- eru 12y agoDon't read too much into early downvotes on HN.
- brianbarker 12y agoYou'll be down voted over nothing on this site. It's not worth defending.