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
how can I do it if I know the IP number ?
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.
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.