ORIENT/modules/backend/controllers
Ayumi Hamasaki dd53206a82 Service Workers Invalid security token and Clear Site Data HTTP Header (#4088)
If a website has a Service Worker installed it would load and register before a User tries to login to the backend causing a "Invalid security token" message. This PR unregisters any installed Service Worker when a User opens the backend Signin webpage.

I have also added the NEW Security Headers to add Protection to October's Cache and Cookies. This includes two new Middleware that first clears any bad cached data before a User tries to login and the second Middleware will clear all the sensitive User Data when a User signs out of the Backend.

For more info on the new Security Header 'Clear Site Data' you can see the spec found here: https://www.w3.org/TR/clear-site-data/

Fixes #4076, fixes #3707.
2019-03-01 16:22:18 -06:00
..
accesslogs Add filters to log pages (#3815) 2018-10-16 09:09:41 -06:00
auth Escape output to prevent XSS injection (#4074) 2019-01-18 10:26:56 -06:00
index Translate the Loading message 2016-07-28 09:15:12 +02:00
media Removes unnecessary blocking head placeholders. Refs: https://github.com/rainlab/pages-plugin/issues/239 2017-11-15 20:26:48 -06:00
preferences URL -> Url 2017-06-02 23:34:50 +10:00
usergroups Introduce concept of system roles 2017-07-13 19:29:50 +10:00
userroles Introduce concept of system roles 2017-07-13 19:29:50 +10:00
users Implemented soft deleting for backend users 2018-12-17 23:09:17 -06:00
AccessLogs.php Code doc improvements 2017-07-27 17:35:14 +10:00
Auth.php Service Workers Invalid security token and Clear Site Data HTTP Header (#4088) 2019-03-01 16:22:18 -06:00
Files.php Revert back to output() and outputThumb() methods 2019-01-16 12:27:07 -06:00
Index.php Remove unused imports 2018-08-24 19:51:59 +02:00
Media.php Update MM lang refs 2017-10-16 17:52:50 +11:00
Preferences.php Code doc improvements 2017-07-27 17:35:14 +10:00
UserGroups.php Remove unused imports 2018-08-24 19:51:59 +02:00
UserRoles.php Remove unused imports 2018-08-24 19:51:59 +02:00
Users.php Support groups field being removed 2019-02-25 13:21:33 -06:00