【发布时间】:2013-09-30 10:56:05
【问题描述】:
我想阻止指定范围的 IP 地址。我将 web.config 文件中的代码编写为:
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
<security>
<ipSecurity allowUnlisted="false"></ipSecurity>
</security>
</system.webServer>
这会阻止一切。
但是当我运行这段代码时,没有任何东西被阻塞。
【问题讨论】: