« Previous Next »
Last post 10-08-2008 11:30 AM by ksingla. 4 replies.
Average Rating Rate It (5)Thank you for the rating!
Page 1 of 1 (5 items)
Sort Posts: Oldest to newest Newest to oldest
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......
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
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.
hi thanks for the reply. and i am using vista business edition.
i could not IpRestrictionModule installed.. can u help how to go further?...
You can follow the steps as given here.