Restrict certain ISPs from seeing web page by HTML coding

35 pts.
Tags:
HTML
HTML editor
Internet service providers
ISP
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

Thanks. We'll let you know when a new response is added.

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.

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Wineagle
    how can I do it if I know the IP number ?
    35 pointsBadges:
    report
  • carlosdl
    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.
    65,110 pointsBadges:
    report
  • Koohiisan
    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,020 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following