问个iframe防止挂木马的问题
我想禁止运行一些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:expression() !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:expression() !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>