mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 03:29:20 +03:00
Force CSP, X-Frame DENY, no-referrer
Added optional Strict-Transport-Security in _include.php TODO: put them in ./rainloop/v/0.0.0/app/templates/Views/Admin/AdminSettingsSecurity.html
This commit is contained in:
parent
327e6f65cd
commit
2f67fb2196
5 changed files with 24 additions and 21 deletions
|
|
@ -12,6 +12,9 @@
|
|||
|
||||
define('APP_USE_APC_CACHE', true);
|
||||
|
||||
// "img-src https:" is allowed due to remote images in e-mails
|
||||
define('APP_DEFAULT_CSP', "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; img-src 'self' data: https:; style-src 'self' 'unsafe-inline'");
|
||||
|
||||
if (function_exists('date_default_timezone_set'))
|
||||
{
|
||||
date_default_timezone_set('UTC');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue