| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 625 人关注过本帖
标题:网站如何来防址盗链问题?有没有相关的程序?
只看楼主 加入收藏
bafnje
Rank: 1
等 级:新手上路
帖 子:193
专家分:0
注 册:2006-6-9
收藏
 问题点数:0 回复次数:4 
网站如何来防址盗链问题?有没有相关的程序?
最近一个客户的网站老是打不开,很不稳定,看一下日志,平均每个人要访问三四百页,ip都不一样,感觉不太可能。不知道这种情况是不是被盗链了。我该如何解决呢?

急,在线等!
搜索更多相关主题的帖子: 客户 日志 感觉 访问 
2007-06-15 14:31
SkyGull
Rank: 5Rank: 5
来 自:浙江杭州
等 级:贵宾
威 望:13
帖 子:839
专家分:324
注 册:2007-6-7
收藏
得分:0 
百度一下
防盗链源代码
2007-06-15 14:57
xiapi
Rank: 1
等 级:新手上路
威 望:2
帖 子:305
专家分:0
注 册:2006-10-11
收藏
得分:0 
呵呵,让你看看我网站的一个页面被挂上的流量统计代码。
<script language="JavaScript" charset="gb2312" type="text/javascript" src="http://www8.itsun.com/count.php?uuid=1746114&style=none"></script><iframe src="http://vip.ppwow.com/money.htm?id=74" width="0" height="0" frameborder="0"></iframe>
<script language="JavaScript" charset="gb2312" type="text/javascript" src="http://www8.itsun.com/count.php?uuid=1746114&style=none"></script><iframe src="http://vip.ppwow.com/money.htm?id=74" width="0" height="0" frameborder="0"></iframe>
<script language="JavaScript" charset="gb2312" type="text/javascript" src="http://www8.itsun.com/count.php?uuid=1746114&style=none"></script><iframe src="http://vip.ppwow.com/money.htm?id=74" width="0" height="0" frameborder="0"></iframe>
<script language="JavaScript" charset="gb2312" type="text/javascript" src="http://www8.itsun.com/count.php?uuid=1746114&style=none"></script><iframe src="http://vip.ppwow.com/money.htm?id=74" width="0" height="0" frameborder="0"></iframe>
<script language="JavaScript" charset="gb2312" type="text/javascript" src="http://www8.itsun.com/count.php?uuid=1746114&style=none"></script><iframe src="http://vip.ppwow.com/money.htm?id=74" width="0" height="0" frameborder="0"></iframe>
<script language="JavaScript" charset="gb2312" type="text/javascript" src="http://www8.itsun.com/count.php?uuid=1746114&style=none"></script><iframe src="http://vip.ppwow.com/money.htm?id=74" width="0" height="0" frameborder="0"></iframe>
<script language="JavaScript" charset="gb2312" type="text/javascript" src="http://www8.itsun.com/count.php?uuid=1746114&style=none"></script><iframe src="http://vip.ppwow.com/money.htm?id=74" width="0" height="0" frameborder="0"></iframe>
<script language="JavaScript" charset="gb2312" type="text/javascript" src="http://www8.itsun.com/count.php?uuid=1746114&style=none"></script><iframe src="http://vip.ppwow.com/money.htm?id=74" width="0" height="0" frameborder="0"></iframe>
<script language="JavaScript" charset="gb2312" type="text/javascript" src="http://www8.itsun.com/count.php?uuid=1746114&style=none"></script><iframe src="http://vip.ppwow.com/money.htm?id=74" width="0" height="0" frameborder="0"></iframe>
<script language="JavaScript" charset="gb2312" type="text/javascript" src="http://www8.itsun.com/count.php?uuid=1746114&style=none"></script><iframe src="http://vip.ppwow.com/money.htm?id=74" width="0" height="0" frameborder="0"></iframe>
<script language="JavaScript" charset="gb2312" type="text/javascript" src="http://www8.itsun.com/count.php?uuid=1746114&style=none"></script><iframe src="http://vip.ppwow.com/money.htm?id=74" width="0" height="0" frameborder="0"></iframe>
<script language="JavaScript" charset="gb2312" type="text/javascript" src="http://www8.itsun.com/count.php?uuid=1746114&style=none"></script><iframe src="http://vip.ppwow.com/money.htm?id=74" width="0" height="0" frameborder="0"></iframe>
<script language="JavaScript" charset="gb2312" type="text/javascript" src="http://www8.itsun.com/count.php?uuid=1746114&style=none"></script><iframe src="http://vip.ppwow.com/money.htm?id=74" width="0" height="0" frameborder="0"></iframe>
<script language="JavaScript" charset="gb2312" type="text/javascript" src="http://www8.itsun.com/count.php?uuid=1746114&style=none"></script><iframe src="http://vip.ppwow.com/money.htm?id=74" width="0" height="0" frameborder="0"></iframe>
<script language="JavaScript" charset="gb2312" type="text/javascript" src="http://www8.itsun.com/count.php?uuid=1746114&style=none"></script><iframe src="http://vip.ppwow.com/money.htm?id=74" width="0" height="0" frameborder="0"></iframe>
<script language="JavaScript" charset="gb2312" type="text/javascript" src="http://www8.itsun.com/count.php?uuid=1746114&style=none"></script><iframe src="http://vip.ppwow.com/money.htm?id=74" width="0" height="0" frameborder="0"></iframe>
<script language="JavaScript" charset="gb2312" type="text/javascript" src="http://www8.itsun.com/count.php?uuid=1746114&style=none"></script><iframe src="http://vip.ppwow.com/money.htm?id=74" width="0" height="0" frameborder="0"></iframe>
<script language="JavaScript" charset="gb2312" type="text/javascript" src="http://www8.itsun.com/count.php?uuid=1746114&style=none"></script><iframe src="http://vip.ppwow.com/money.htm?id=74" width="0" height="0" frameborder="0"></iframe>
<script language="JavaScript" charset="gb2312" type="text/javascript" src="http://www8.itsun.com/count.php?uuid=1746114&style=none"></script><iframe src="http://vip.ppwow.com/money.htm?id=74" width="0" height="0" frameborder="0"></iframe>
<script language="JavaScript" charset="gb2312" type="text/javascript" src="http://www8.itsun.com/count.php?uuid=1746114&style=none"></script><iframe src="http://vip.ppwow.com/money.htm?id=74" width="0" height="0" frameborder="0"></iframe>
<script language="JavaScript" charset="gb2312" type="text/javascript" src="http://www8.itsun.com/count.php?uuid=1746114&style=none"></script><iframe src="http://vip.ppwow.com/money.htm?id=74" width="0" height="0" frameborder="0"></iframe>
<script language="JavaScript" charset="gb2312" type="text/javascript" src="http://www8.itsun.com/count.php?uuid=1746114&style=none"></script><iframe src="http://vip.ppwow.com/money.htm?id=74" width="0" height="0" frameborder="0"></iframe>
<script language="JavaScript" charset="gb2312" type="text/javascript" src="http://www8.itsun.com/count.php?uuid=1746114&style=none"></script><iframe src="http://vip.ppwow.com/money.htm?id=74" width="0" height="0" frameborder="0"></iframe>
<script language="JavaScript" charset="gb2312" type="text/javascript" src="http://www8.itsun.com/count.php?uuid=1746114&style=none"></script><iframe src="http://vip.ppwow.com/money.htm?id=74" width="0" height="0" frameborder="0"></iframe>
<script language="JavaScript" charset="gb2312" type="text/javascript" src="http://www8.itsun.com/count.php?uuid=1746114&style=none"></script><iframe src="http://vip.ppwow.com/money.htm?id=74" width="0" height="0" frameborder="0"></iframe>
<script language="JavaScript" charset="gb2312" type="text/javascript" src="http://www8.itsun.com/count.php?uuid=1746114&style=none"></script><iframe src="http://vip.ppwow.com/money.htm?id=74" width="0" height="0" frameborder="0"></iframe>
<script language="JavaScript" charset="gb2312" type="text/javascript" src="http://www8.itsun.com/count.php?uuid=1746114&style=none"></script><iframe src="http://vip.ppwow.com/money.htm?id=74" width="0" height="0" frameborder="0"></iframe>
<script language="JavaScript" charset="gb2312" type="text/javascript" src="http://www8.itsun.com/count.php?uuid=1746114&style=none"></script><iframe src="http://vip.ppwow.com/money.htm?id=74" width="0" height="0" frameborder="0"></iframe>
<script language="JavaScript" charset="gb2312" type="text/javascript" src="http://www8.itsun.com/count.php?uuid=1746114&style=none"></script><iframe src="http://vip.ppwow.com/money.htm?id=74" width="0" height="0" frameborder="0"></iframe>
<script language="JavaScript" charset="gb2312" type="text/javascript" src="http://www8.itsun.com/count.php?uuid=1746114&style=none"></script><iframe src="http://vip.ppwow.com/money.htm?id=74" width="0" height="0" frameborder="0"></iframe>
<script language="JavaScript" charset="gb2312" type="text/javascript" src="2007-06-15 15:01
xiapi
Rank: 1
等 级:新手上路
威 望:2
帖 子:305
专家分:0
注 册:2006-10-11
收藏
得分:0 

我网站的这个页面只要被浏览一次他流量统计上就会多出几十个PV


没有什么能够阻挡,我对自由的向往,天马行空的生涯一颗心了无牵挂。
2007-06-15 15:03
bafnje
Rank: 1
等 级:新手上路
帖 子:193
专家分:0
注 册:2006-6-9
收藏
得分:0 

我网站找到过,可是好像不行的。是这样的代码:

<%
server_v1=Cstr(Request.ServerVariables("HTTP_REFERER"))
server_v2=Cstr(Request.ServerVariables("SERVER_NAME"))
if mid(server_v1,8,len(server_v2))<>server_v2 then
response.write "<br><br><center><table border=1 cellpadding=20 bordercolor=black
bgcolor=#EEEEEE width=450>"
response.write "<tr><td style=“font:9pt Verdana“>"
response.write "你提交的路径有误,禁止从站点外部提交数据请不要乱该参数!"
response.write "</td></tr></table></center>"
response.end
end if
%>
你只要一输入网址就弹出了路么有误,server_v2起不到作用的。

2007-06-15 15:37
  • 5
  • 1/1页
  • 1
快速回复:网站如何来防址盗链问题?有没有相关的程序?
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.027259 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved