开发者

block requests using site's ip

开发者 https://www.devze.com 2023-02-18 20:14 出处:网络
Is it possible to block all requests that use the IP address rather than the domain name for a site on IIS? For example, i\'d like to block https://104.100.100.2 but not https://somesite.com (which re

Is it possible to block all requests that use the IP address rather than the domain name for a site on IIS? For example, i'd like to block https://104.100.100.2 but not https://somesite.com (which resides at the dummy ip of 104.100.100.2). I've tried using URLScan 3, but was unabl开发者_如何学Pythone to build a working rule. Thanks!


http://technet.microsoft.com/en-us/library/cc753195%28WS.10%29.aspx

Have a look here and bind to the publicly accessible domain name - should do the trick (IIS won't respond to requests that haven't accessed using the https://somesite.com)

Not sure how else to do it...

Dave

0

精彩评论

暂无评论...
验证码 换一张
取 消