Chuck a few more super-duper-security headers in there
This commit is contained in:
parent
f8ac3a6ad3
commit
72fc2e7068
@ -41,6 +41,11 @@ app.use(function (req, res, next) {
|
|||||||
// documents in ckeditor.
|
// documents in ckeditor.
|
||||||
"img-src data: *"
|
"img-src data: *"
|
||||||
].join('; '));
|
].join('; '));
|
||||||
|
|
||||||
|
res.setHeader('X-XSS-Protection', '1; mode=block');
|
||||||
|
res.setHeader('X-Content-Type-Options', 'nosniff');
|
||||||
|
res.setHeader('X-Frame-Options', 'SAMEORIGIN');
|
||||||
|
|
||||||
next();
|
next();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user