取得IP
rs("ip")=request.servervariables("remote_addr")
禁止网页另存
在头文件中加上以下代码
<noscript>
<iframe src="*.htm"></iframe>
<iframe src="*.asp"></iframe>
</noscript>
禁止右键和拷贝
方法1
<body bgcolor="F2F2F2" leftmargin="0" topmargin="0" οncοpy="event.returnValue=false" οncοntextmenu="self.event.returnValue=false" οndragstart="self.event.returnValue=false">
方法2
<body leftmargin="2" topmargin="0" marginwidth="0" marginheight="0" οncοntextmenu="return false" οndragstart="return false" onselectstart ="return false" οnselect="document.selection.empty()" οncοpy="document.selection.empty()" onbeforecopy="return false" οnmοuseup="document.selection.empty()
09-13
09-13