how to block a site on ie?

sirpado

Senior member
Jun 27, 2001
404
0
0
is there a way to block a whole site on ie. I tried doing it with content advisor but then you get all these popups asking if sites are alrright. is there a way that makes it less apparent that the site was blocked?
 

deftron

Lifer
Nov 17, 2000
10,868
1
0
Nevermind...that doesn't block sites...

I thought it would..but I've never actually used it before...


sorry.
 

911paramedic

Diamond Member
Jan 7, 2002
9,448
1
76
To customize your privacy settings for an individual Web site

In Internet Explorer, on the Tools menu, click Internet Options.
Click the Privacy tab, and then click Edit.
In Address of Web site, type the complete address of the Web site for which you want to specify custom settings. For example, http://www.microsoft.com
To specify that you want Internet Explorer to always allow cookies from the specified Web site to be saved on your computer, click Allow. To specify that you want Internet Explorer to never allow cookies from the specified Web site to be saved on your computer, click Block.





This was in IE help menu. :D
 

reitz

Elite Member
Oct 11, 1999
3,878
2
76
Are you just trying to stop IE from loading one certain site altogether?
 

deftron

Lifer
Nov 17, 2000
10,868
1
0
ndee is right

Find a file named hosts on your computer

For me (WinXP) it was in :
C:\WINDOWS\system32\drivers\etc\

Open it with notepad

It will look like this:

# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

127.0.0.1 localhost
127.0.0.1 www.yahoo.com<-----------ADD A LINE LIKE THIS BUT REPLACE YAHOO WITH THE SITE YOU WANT TO BLOCK



Save the file...

Try in IE.. you should get a 404 Error.
 

reitz

Elite Member
Oct 11, 1999
3,878
2
76
deftron's got it. If you're trying to actually block a site so that your computer can't access it, the best way is to just edit the hosts file. When you save it, make sure to save it without the .sam extension.
 

DanFungus

Diamond Member
Jul 27, 2001
5,857
0
0
would you leave the localhost IP in there, or wouldn't you put the sites IP instead (localhost IP = 127.0.0.1)
edit: nm...127.0.0.1 stays there.....is it something to do with instead of looking to MS's IP, it goes to localhost IP, doesn't find it, and displays 404? Because pining MS.com with localhost IP in host file is pining localhost IP...am I right, or am I right :D
 

pulse8

Lifer
May 3, 2000
20,860
1
81


<< would you leave the localhost IP in there, or wouldn't you put the sites IP instead (localhost IP = 127.0.0.1) >>

You leave the localhost IP in there because it redirects the domain to your IP.
 

dude

Diamond Member
Oct 16, 1999
3,192
0
71
An easy way to do this is to buy ZoneAlarm Pro and add it to your restricted sites.

It makes it so the site doesn't even exist. This is great for blocking ads too.

Ad such sites such as ads.web.aol.com, m.doubleclick.net, ad.doubleclick.net, ads.x10.com, servedby.advertising.com, etc. :)

The shdoclc.dll error comes up (the page cannot be displayed).