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