来限制IP地址访问的最好方法? [英] Best way to restrict access by IP address?
本文介绍了来限制IP地址访问的最好方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
对于ASP.NET C#应用程序,我们需要基于IP地址来限制访问。什么是实现这一目标的最佳方式是什么?
For an ASP.NET C# application, we will need to restrict access based on IP address. What is the best way to accomplish this?
推荐答案
在限制IP IIS 7的最佳方法是使用配置文件。
In IIS 7 best way to restrict IP is by using the config file.
见全文:
<一href="http://boseca.blogspot.com/2010/12/programmatically-addremove-ip-security.html">http://boseca.blogspot.com/2010/12/programmatically-addremove-ip-security.html
这篇关于来限制IP地址访问的最好方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文