标签:ring str escape 网站 app null ase url host
*盗链:就是别人使用自己的网站的url作为超链接
在Global.asax中,
protect void Application_BeginRequest()
{
if(Request.UrlRefer==null||UrlCompare( Request.UrlRefer, Request.Url, UriComponents.HostAndPort, UriFormat.StateUnescaped,StringComparison.CurrentCultureIgnoreCase ))
{
Respone.End();
}
}
标签:ring str escape 网站 app null ase url host
原文地址:http://www.cnblogs.com/pylblog/p/6958803.html