问个iframe防止挂木马的问题

qjx6531 2010-08-07 11:23:58
我想禁止运行一些iframe的挂马,但是总不对,麻烦熟悉的看看,谢谢先。
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>防止挂马</title>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-color: #C6D3E7;
}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:active {
text-decoration: none;
}
-->
</style>
<style>
iframe{v:expression(this.src='about:blank',this.outerHTML='');}
f126{v:e­xpression() !important}
</style>

</head>

<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="middle" bgcolor="#C6D3E7"><table width="200" border="1">
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td><iframe id="f126" style="v:e­xpression() !important" name="mine" width="380" height="48" src="soso/soso.asp"></iframe></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td><iframe name="mine" width="380" height="48" src="soso/soso.asp"></iframe></td>
<td> </td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
...全文
47 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
dongchi1 2010-08-08
  • 打赏
  • 举报
回复
弄个批量防注入 就安全多了 用对ASP的站点用新云CMS吧安全一点
l83203808 2010-08-07
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 ttt2 的回复:]
具体应该从两方面入手
1。检测程序有没有注入漏洞
2。检测服务器的安全设置
[/Quote]


正解
ttt2 2010-08-07
  • 打赏
  • 举报
回复
具体应该从两方面入手
1。检测程序有没有注入漏洞
2。检测服务器的安全设置

28,390

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧