我需要PHP专家的帮助。
我的Web应用程序漏洞有问题。它是用PHP / MySQL制作的,我仍然需要更正以下四个错误:
请帮帮我。我已经研究和测试了几种替代方案,但没有一种对我有用。
我在远程服务器中有:
提前谢谢。欢迎光临。
发布于 2014-05-29 22:09:44
1.)
<meta http-equiv="X-Frame-Options" content="deny">(2、3.)
http://geekflare.com/httponly-secure-cookie-apache/
4.)
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]发布于 2017-09-15 22:16:26
只有包含输入表单的页面,用户可以在其中输入敏感/机密信息,才容易受到跨帧脚本的攻击。为了支持遗留浏览器,我建议在每个易受攻击的页面(如果可能的话,还可以使用母版页)使用以下JavaScript解决方案:
if ( self == top ) {
document.documentElement.style.display = 'block' ;
document.documentElement.style.visibility = 'visible' ;
} else {
top.location = self.location ;
}html{
display : none ;
visibility : hidden ;
}
https://stackoverflow.com/questions/23943635
复制相似问题