低危风险

低微漏洞:在nginx配置文件做设置(/etc/nginx/conf.d)
add_header Content-Security-Policy "default-src 'self' 'unsafe-inline' 'unsafe-eval' blob: data: ;";
add_header X-Xss-Protection "1;mode=block";
add_header X-Content-Type-Options nosniff;
add_header X-Frame-Options DENY;

posted @ 2021-01-18 11:28  by2018  阅读(67)  评论(0编辑  收藏  举报