nextcloud/lib/private/user
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
..
backend.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
database.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
dummy.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
example.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
http.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
interface.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
loginexception.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
manager.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
session.php Let users configure security headers in their Webserver 2015-03-02 19:07:46 +01:00
user.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00