35 pts.
 Restrict certain ISPs from seeing web page by HTML coding
Can a web page be coded so that someone using a specific ISP cannot access the page?  For example if the person uses comcast or msn, can code be added so those users can't see a website?  Thanks.

Software/Hardware used:
Mac - HTML editor
ASKED: May 19, 2011  8:39 PM
UPDATED: May 22, 2011  7:01 AM

Answer Wiki:
No. If you knew all ip addresses owned by each ISP, you could try to do something in your firewall, or in your code, but I don't think you do. I have some IP numbers, what would the HTML code be ? ------------ This can't be done with HTML alone. Your web page would need to have some sort of dynamic script just as ASP, JSP, etc. in order to do this. What is the end result that you are trying to get? I don't see a reason that you'd want to prevent some users from seeing your website.
Last Wiki Answer Submitted:  May 22, 2011  7:01 am  by  Wineagle   35 pts.
All Answer Wiki Contributors:  Wineagle   35 pts. , carlosdl   63,580 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

how can I do it if I know the IP number ?

 35 pts.

 

I’m not a web developer, but I don’t think it can be done with pure html.

Maybe you would need asp, jsp, or php.

 63,580 pts.

 

As Carlosdl said, you would really need a scripting language that would evaluate the IP of the requestor and either serve up a refusal page, a 404, or some sort of redirect for those certain viewers.

Note that this is 100% defeatable if they realize that they are being singled out and decide to try using one of the many free online proxies to reach your site (their IP would be different), or if they try from a mobile phone browser, etc. This is not a solid solution, although it can be done.

 5,005 pts.