4 points · by symkat · 12y ago · 2 comments
For example, working at FooBar.com, I see fbsrv.com being used for this stuff, as opposed to FooBar.com.
It's never occurred to me to ask, what are the benefits to this?
For example, it's possible to construct a perfectly valid image file, served with the correct image/gif MIME type that contains malicious a Javascript payload, and older versions of Internet Explorer might still execute that Javascript. If it is served from your web apps main domain or a subdomain, then this Javascript can access users' sessions.
You can do the same thing with subdomains (e.g. internal.foobar.com), and then tree off of that (db1.site1.internal.megacorp.com), but that gets confusing.