https://www.ip2location.com/free/visitor-blocker

有 .htaccess web.config等

 

以iis为例

打开C:\Windows\System32\inetsrv\config\applicationHost.config

 <location path="www.surveybuy.com">
        <system.webServer>
            <security>
                <ipSecurity allowUnlisted="true">
              <clear/>
          <add ipAddress="xx.xx.xx.xx" subnetMask="xx.xx.xx.xx" allowed="true"/>
              <add ipAddress="218.30.53.128" subnetMask="255.255.255.128"/>
                </ipSecurity>
            </security>
        </system.webServer>
    </location>

内加入允许和拒绝的ip

 记得把允许的ip放前面

相关文章:

  • 2021-12-31
  • 2021-09-30
  • 2021-08-28
  • 2022-12-23
  • 2021-09-02
  • 2022-12-23
  • 2021-12-25
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-06-03
  • 2021-07-30
  • 2022-12-23
  • 2021-09-23
  • 2021-08-16
相关资源
相似解决方案