Click to See Complete Forum and Search --> : IP Address Blocking


aftermoon
April 17th, 2003, 01:01 AM
Hi guys
How can I block some ip address from accessing my site. There is a register page for new users. and if they find disqualified, they should have been blocked from the site. How can I do this.
I 'm using ASP.NET.

any help will be appreciated.
thanks in advance

DSJ
April 17th, 2003, 12:03 PM
Right-click on your project in IIS and choose the "Directory Security" tab. In the middle there's an option to specify IP address or Domain Names to deny access to.

aftermoon
April 21st, 2003, 01:11 AM
thanks DSJ.
But Can I do it using ASP code?. Sometimes I may need to
block an IP range.(for eg:- - 245.24.45.* ).