标签:web net lis als ESS list ipaddress window win
限制ip 访问 禁止访问的ip或者ip段
<security>
<ipSecurity allowUnlisted="ture">
<clear/>
<add ipAddress="127.0.0.1 allowed="true"/>
<add ipAddress="83.116.19.53 allowed="true"/>
<add ipAddress="83.116.119.0" subnetMask="255.255.255.0" allowed="true"/>
<add ipAddress="83.117.0.0" subnetMask="255.255.0.0" allowed="true"/>
<add ipAddress="83.0.0.0" subnetMask="255.0.0.0" allowed="true"/>
</ipSecurity>
</security>
永许ip访问 可以访问的ip或者ip段
<security>
<ipSecurity allowUnlisted="false">
<clear/>
<add ipAddress="127.0.0.1 allowed="true"/>
<add ipAddress="83.116.19.53 allowed="true"/>
<add ipAddress="83.116.119.0" subnetMask="255.255.255.0" allowed="true"/>
<add ipAddress="83.117.0.0" subnetMask="255.255.0.0" allowed="true"/>
<add ipAddress="83.0.0.0" subnetMask="255.0.0.0" allowed="true"/>
</ipSecurity>
</security>
Window2008通过web.config进行限制ip访问
标签:web net lis als ESS list ipaddress window win
原文地址:https://www.cnblogs.com/cannovo/p/11102092.html