asp 도 난 방지 체인 코드(천둥,회오리,급행열차 다운로드 역 내 자원 철저히 차단)

 
<%
'
Dimxurl,xtool
' AGENT
xurl=lcase(Request.ServerVariables("HTTP_USER_AGENT"))
' AGENT, 5 , , !
xtool="mozilla/4.0(compatible;msie5.00;windows98)"&_
"mozilla/4.0(compatible;msie6.0;windows+nt5.0)"&_
"mozilla/4.0(compatible;msie6.0;windowsnt5.1;)"&_
"mozilla/4.0(compatible;msie6.0;windowsnt5.0;.netclr1.1.4322)"&_
"mozilla/4.0(compatible;msie6.0;windowsnt5.0;.netclr3.5.20706)"&_
"mozilla/4.0(compatible;msie6.0;windowsnt5.1;sv1;.netclr1.1.4322;.netclr2.0.50727)"
' AGENT
IfInStr(xtool,xurl)>0Then
' 404
Response.Status="404NotFound"
Response.End
EndIf
'
Response.Write" , ?"
%>

좋은 웹페이지 즐겨찾기