asp.net mvc - How can I prevent requests from certain domain in web.config? -
i want restrict 1 domain application in web.config. how can it? found solution iis settings,
<add ipaddress="some_ip_address" /> but want restrict domain, not ip address
there no direct way not allow specific domain.you can restrict ips only. can use nsloopkup map domain ip addresses.
<security> <ipsecurity allowunlisted="true"> <clear/> <!-- removes upstream restrictions --> <add ipaddress="83.116.19.53"/> </ipsecurity> </security>
Comments
Post a Comment