« Previous Next »

Thread: Blocking Ips in IIS7

Last post 10-08-2008 11:30 AM by ksingla. 4 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (5 items)

Sort Posts:

  • 10-07-2008, 11:12 AM

    Blocking Ips in IIS7

    hi,

    my req is to block  some IPs. i know that in iis 6 we can block ips by using directory security tab.

    But i dont know how to do that in iis 7.

    and i have to write asp.net and C# code for retrieving restricted IPs in iis 7.

     help plz......
     

    satya
  • 10-07-2008, 11:24 AM In reply to

    • ksingla
    • Top 10 Contributor
    • Joined on 06-14-2006, 3:02 AM
    • Redmond, WA
    • Posts 862

    Re: Blocking Ips in IIS7

    In IIS7, open inetmgr and go to "IPv4 Address and Domain Restrictions" to configure IP restriction module. Read more about different properties here.

    You can retrieve these settings using WebConfigurationManager. Read more here.

    Thanks,
    Kanwal

    Follow me on twitter at http://twitter.com/kjsingla
  • 10-07-2008, 12:34 PM In reply to

    Re: Blocking Ips in IIS7

    I would like to add that you need to have the IpRestrictionModule installed.

    And if you are on Windows Vista, you need to have SP1 for it to show up in IIS Manager.

  • 10-08-2008, 1:02 AM In reply to

    Re: Blocking Ips in IIS7

    hi thanks for the reply. and i am using vista business edition.

    i could not  IpRestrictionModule installed.. can u help how to go further?...

    satya
  • 10-08-2008, 11:30 AM In reply to

    • ksingla
    • Top 10 Contributor
    • Joined on 06-14-2006, 3:02 AM
    • Redmond, WA
    • Posts 862

    Re: Blocking Ips in IIS7

    You can follow the steps as given here.

    Follow me on twitter at http://twitter.com/kjsingla
Page 1 of 1 (5 items)
Microsoft Communities