Window2008通过web.config进行限制ip访问 - 领地网
领地网-为您企业建站赋予能量!

帮助中心

Window2008通过web.config进行限制ip访问

限制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>



联系QQ712391002

在线
客服

联系QQ:712391002

在线沟通
服务时间:9:00-18:00

联系电话:4001611283

客服
热线

联系电话:400-888-12349

4001611283
7*24小时客服服务热线

微信扫码

微信
扫码

微信扫一扫

有问必答

有问
必答

返回顶部返回顶部 顶部