[Last Call] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 390
  • Last Modified:

Can I prevent a webpage from loading content from other servers?

Hello all,

What I mean by the title is - when I type www.somewebsite.com into my browser, it's because I want to access content from www.somewebsite.com.  Many websites, however, take it upon themselves to integrate content from other providers into their web pages - mostly served ads. I fel for them wanting to monetize my traffic, but I didn't ask to have my browser access all these other domains, leaving my IP all over the place.

So - what I want is a browser, or an add-on, that will go get the page I requested but nothing else.  If I ask for a page at www.somewebsite.com/page.htm, then accept content from www.somewebsite.com and refuse to go get anything that page calls for outside of www.somewebsite.com.

Is it possible?

  • 2
1 Solution
A couple of small tricks:
1. In IE, change your Privacy settings to "Block" all Third Party cookies, and
2. Install a modified "HOSTS" file (http://winhelp2002.mvps.org/hosts.htm).
xfvgdrthbdtyvhgscvAuthor Commented:
You konw, I completely forgot about the hosts file.  Tinkered with that a few years ago.  I already have the mvps hosts file - but Firefox seems to be ignoring it.  I'll investigate.  Thanks.

At the same time, though - the hosts file puts the onus on me to individually identity every host I don't want to load.  What I really want is for the browser to simply load only material delivered directly from the domain I asked for and nothing else.
The pre-built HOSTS file from mvps.org is pretty extensive (http://winhelp2002.mvps.org/hosts.txt) and works regardless of browser (HOSTS file is searched before DNS query is done).

They update it on a regular basis (you can subscribe to get a notification), but you may still have to add a few IP addresses.

I don't use Firefox so can't offer any thoughts on configuation.

Featured Post

 The Evil-ution of Network Security Threats

What are the hacks that forever changed the security industry? To answer that question, we created an exciting new eBook that takes you on a trip through hacking history. It explores the top hacks from the 80s to 2010s, why they mattered, and how the security industry responded.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now