摘要:
第一步 : 实现 IHttpHandler 接口 namespaceWebHotlinkProtection{publicclassHotlinkProtectionHandler:IHttpHandler{publicboolIsReusable{get{thrownewNotImplementedException();}}publicvoidProcessRequest(HttpContextcontext){//监听是否本站发起的请求if(!context.Request.UrlReferrer.Host.StartsWith("localhost")){conte 阅读全文
posted @ 2012-04-29 15:05
Rhythmk
阅读(438)
评论(0)
推荐(0)
浙公网安备 33010602011771号