nextcloud/lib/private/appframework
Lukas Reschke bbd5f28415 Let users configure security headers in their Webserver
Doing this in the PHP code is not the right approach for multiple reasons:

1. A bug in the PHP code prevents them from being added to the response.
2. They are only added when something is served via PHP and not in other cases (that makes for example the newest IE UXSS which is not yet patched by Microsoft exploitable on ownCloud)
3. Some headers such as the Strict-Transport-Security might require custom modifications by administrators. This was not possible before and lead to buggy situations.

This pull request moves those headers out of the PHP code and adds a security check to the admin settings performed via JS.
2015-03-02 19:07:46 +01:00
..
core Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
db Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
dependencyinjection AppFramework StreamResponse 2015-02-27 15:42:33 +01:00
http Let users configure security headers in their Webserver 2015-03-02 19:07:46 +01:00
middleware Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
routing Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
utility Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
app.php Let users configure security headers in their Webserver 2015-03-02 19:07:46 +01:00
http.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00