Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way on my Windows XP machine to blacklist certain HTTP URLS so that embedded web service calls won't trigger activity from my PC to those URLs?

share|improve this question

migrated from Mar 11 '10 at 20:03

This question came from our site for system and network administrators.

Yes, install one of the myriad of personal security suites that do HTTP filtering. – squillman Mar 11 '10 at 18:56

Firewalls or packet filtering are often a good solution for things like this.

One hack solution would be to specify entries for the hostnames directing to localhost in C:\windows\system32\drivers\etc\hosts.

For example: would prevent all access to

share|improve this answer
adding those bogus entries to the hosts file didn't seem to have any effect at all. :-( – jeffspost Mar 11 '10 at 19:33
Restart the Web browser. Caching sometimes takes affect. – Warner Mar 11 '10 at 19:42
if it's being pesky, shut down the web browser, then type 'ipconfig /flushdns' to clear your dns cache, then reopen your browser – Roy Rico Mar 11 '10 at 23:16

One standard way is to put entries in your hosts.txt file that redirect the offending domain names. Handy for blocking ads for instance.

ie, in \windows\system32\drivers\etc\hosts.txt

for extra credit, install apache locally and capture all URLs so you can display [ad] instead of a broken link.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.