We have ASP.NET web site hosted on IIS.
We need to block access to page “http://www.example.com/sample/page1.aspx” from any IP.
We want to define single IP which can access this page.
What option of IIS or Windows can help me?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you are using IIS7 + you could use the URL Rewrite Module http://www.iis.net/download/urlrewrite
However if you are using IIS6 you can try a tool like Helicon ISAPI Rewrite http://www.helicontech.com/isapi_rewrite/ which will allow you to write an IP based rule.