jschreuder / SpotDesk

Open source e-mail based Helpdesk software.
MIT License
1 stars 0 forks source link

Implement security headers #27

Open jschreuder opened 7 years ago

jschreuder commented 7 years ago
jschreuder commented 7 years ago

Headers implemented for all PHP requests, won't affect index.html though: a30bc05d66d2493c655c473df587f08f2e084ba4

Possibly server index.html through PHP?

jschreuder commented 7 years ago

Main template now served through PHP with headers attached in db02a770a88cad1b4cc1759b0971d8a1f9d511d0

This had the CSP causing all sorts of mayhem ofcouse, so the following modifications were necessary:

That last modification would be better not to have, but not sure how to eliminate it.

jschreuder commented 7 years ago

Done for v1, may want to revisit for next version.