Site Block from Specific Country

D

DC

hi
I created web sites

I want to stop the people watching my web site
I want to block the user from China, India, Pak., SriLanka

I know that is no static IP
Can any body tell me the range of IP for above country

I also work wiht ASP.Net

Give me code, script, etc.
Thank
 
T

Thomas A. Rowe

Do a search for Country Specific IP list, then you have to write custom code and apply to your pages
to block the IPs/Countries you don't want to have access.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
T

Thomas A. Rowe

FYI: There are 63000+ Country IP Address Ranges (this includes US IPs)

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

Tom [Pepper] Willett said:
If using a windows server, they can be blocked in IIS.
--
Tom [Pepper] Willett
Microsoft MVP - FrontPage
FrontPage Support: http://www.frontpagemvps.com/
----------
Thomas A. Rowe said:
Do a search for Country Specific IP list, then you have to write custom code and apply to your
pages to block the IPs/Countries you don't want to have access.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
T

Tom [Pepper] Willett

I know. I have several blocked ;-)

Now, you should try blocking them in a mail server!
--
Tom [Pepper] Willett
Microsoft MVP - FrontPage
FrontPage Support: http://www.frontpagemvps.com/
----------
Thomas A. Rowe said:
FYI: There are 63000+ Country IP Address Ranges (this includes US IPs)

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

Tom [Pepper] Willett said:
If using a windows server, they can be blocked in IIS.
--
Tom [Pepper] Willett
Microsoft MVP - FrontPage
FrontPage Support: http://www.frontpagemvps.com/
----------
Thomas A. Rowe said:
Do a search for Country Specific IP list, then you have to write custom
code and apply to your pages to block the IPs/Countries you don't want
to have access.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

hi
I created web sites

I want to stop the people watching my web site
I want to block the user from China, India, Pak., SriLanka

I know that is no static IP
Can any body tell me the range of IP for above country

I also work wiht ASP.Net

Give me code, script, etc.
Thank
 
T

Thomas A. Rowe

But it is easy to do with a custom ASP based application the check a user's IP and then block access
if on the list, etc. then try adding them manually to IIS (or a mail server).

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

Tom [Pepper] Willett said:
I know. I have several blocked ;-)

Now, you should try blocking them in a mail server!
--
Tom [Pepper] Willett
Microsoft MVP - FrontPage
FrontPage Support: http://www.frontpagemvps.com/
----------
Thomas A. Rowe said:
FYI: There are 63000+ Country IP Address Ranges (this includes US IPs)

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

Tom [Pepper] Willett said:
If using a windows server, they can be blocked in IIS.
--
Tom [Pepper] Willett
Microsoft MVP - FrontPage
FrontPage Support: http://www.frontpagemvps.com/
----------
Do a search for Country Specific IP list, then you have to write custom code and apply to your
pages to block the IPs/Countries you don't want to have access.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

hi
I created web sites

I want to stop the people watching my web site
I want to block the user from China, India, Pak., SriLanka

I know that is no static IP
Can any body tell me the range of IP for above country

I also work wiht ASP.Net

Give me code, script, etc.
Thank
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top