Web Security Headers¶
A lot of modern web application security depends on HTTP headers. They enable you to restrict which kinds of content from which sources will be executed on your site. This can mitigate or even prevent a lot of popular client-side attacks, like Cross-Site-Scripting or downgrades to plaintext HTTP.
To provide a basic level of security, we set the following HTTP headers on all uberspaces for every domain:
- Prevents the browser from leaking GET parameters to linked sites via HTTPS or leaking the domain over unencrypted HTTP altogether.
- Enforce that the site may only be loaded via HTTPS for the next two days.
X-Xss-Protection: 1; mode=block
- Tell the browser to protect against cross-site scripting.
- Prevents the site from being used as a frame from another domain, i.e. to block other sites from calling actions on your site (i.e. deleting a profile).
Changing the above values is possible using web headers.