Browsed by
Tag: HTTP Headers

Security HTTP Headers

Security HTTP Headers

X-Frame-Options: // Raw header X-Frame-Options: sameorigin // How to send the response header with PHP header(“X-Frame-Options: sameorigin”); // How to send the response header with Apache (.htaccess) Header set X-Frame-Options “sameorigin” // How to send the response header with Express.js app.use(function(req, res, next) { res.header(“X-Frame-Options”, “sameorigin”); next(); }); X-XSS-Protection // Raw header X-XSS-Protection: 1; mode=block // How to send the response header with PHP header(“X-XSS-Protection: 1; mode=block”); // How to send the response header with Apache (.htaccess) Header set X-XSS-Protection…

Read More Read More