如何封锁特定网址

如何封锁特定网址

本文介绍了如何封锁特定网址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想阻止特定的网址,然后我可以阻止谁?

I wanted to block the specific url then Who can i block?

推荐答案

Request.ServerVariables("http_referrer") 



只需检查url,如果要阻止,则将请求重定向到某些自定义访问被拒绝的页面.


如果不是这种情况,请提供更多详细信息.



Just check the url, if you want to block then redirect the request to some custom access denied page.


Provide more details, if this is not the case.


这篇关于如何封锁特定网址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-26 16:49