nextcloud/settings
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
..
ajax Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
changepassword Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
controller Let users configure security headers in their Webserver 2015-03-02 19:07:46 +01:00
css Make the password changed msg inline to fix #10242 2015-02-11 14:27:05 +01:00
factory Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
img remove shadow effects from settings icons, reduce size 2014-07-02 19:50:58 +02:00
js Let users configure security headers in their Webserver 2015-03-02 19:07:46 +01:00
l10n [tx-robot] updated from transifex 2015-03-02 01:55:00 -05:00
middleware Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
templates Let users configure security headers in their Webserver 2015-03-02 19:07:46 +01:00
tests/js Added unit test for app filter 2015-02-23 15:29:25 +01:00
admin.php Let users configure security headers in their Webserver 2015-03-02 19:07:46 +01:00
application.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
apps.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
help.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
languageCodes.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
personal.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
routes.php Let users configure security headers in their Webserver 2015-03-02 19:07:46 +01:00
users.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00