Chuck a few more super-duper-security headers in there

pull/1/head
Caleb James DeLisle 8 years ago
parent f8ac3a6ad3
commit 72fc2e7068

@ -41,6 +41,11 @@ app.use(function (req, res, next) {
// documents in ckeditor.
"img-src data: *"
].join('; '));
res.setHeader('X-XSS-Protection', '1; mode=block');
res.setHeader('X-Content-Type-Options', 'nosniff');
res.setHeader('X-Frame-Options', 'SAMEORIGIN');
next();
});

Loading…
Cancel
Save