Ask HN: Why have an administration domain?
I've noticed in a number of companies I've worked at, we'll often have a separate domain to host things like graphs, git, ldap, etc, etc.
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?
3 comments
[ 0.28 ms ] story [ 18.1 ms ] threadFor 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.