SoftwareTipsandTricks Forum

Go Back   SoftwareTipsandTricks Forum > Operating Systems > Windows XP
User Name
Password


IE blocking sites.

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes

  #1  
Old 10-17-2004, 01:58 AM
ReD-BoXeR Offline
Junior Member
 
Join Date: Sep 2004
Posts: 2
IE blocking sites.

hey guys
is there a way to block ony one site in the net.
e.g. I wanna block say www.google.com from my internet is there a way of doing it.
I would be happy if i can block the site or delete it from my net or sit a password.

thanx
Reply With Quote

  #2  
Old 10-17-2004, 05:02 AM
Jazz's Avatar
Jazz Offline
Registered User
 
Join Date: May 2004
Location: London, England
Posts: 1,658
Add it to your hosts file. For example: www.xxx.com

C:\WINDOWS\system32\drivers\etc\hosts and add it as follows. You can open the hosts file using Notepad. Always ensure that you have 127.0.0.1 localhost first.: -

127.0.0.1 www.xxx.com

The following is a snippet of my hosts file, as inserted by Spybot S&D 1.3: -

------------------------------------------------------------------------------------

127.0.0.1 localhost
# start of entries inserted by spybot - search & destroy
127.0.0.1 coolwwwsearch.com
127.0.0.1 hi.studioaperto.net
127.0.0.1 www.webbrowser.tv
127.0.0.1 gueb.com
127.0.0.1 kabex.com
127.0.0.1 www.hityou.com

------------------------------------------------------------------------------------

This can be achieved by using Spybot S&D 1.3's 'Add Spybot S&D hosts list' facility.

Have a read up on it here. The article does mention a possibility of decreased performance, however, I have never noticed this: -

Protect against spyware and adware with Spybot

Good luck..........
__________________
An ounce of prevention is worth more than a pound of cure

Proud Member of the Alliance of Security Analysis Professionals (ASAP) 2006
Reply With Quote

  #3  
Old 10-17-2004, 05:06 AM
pip22's Avatar
pip22 Offline
Registered User
 
Join Date: Jun 2004
Location: United Kingdom
Posts: 1,241
You can block it by adding it to the 'HOSTS' file which you'll find in C:\Windows\system32\drivers\etc

Open this file with Notepad and on a new line add the following:

127.0.0.1 www.google.com

Note that there must be at least one space between the IP number and the website name.

After adding the line, save the file.

Also, i did read somewhere that the HOSTS file must be in capital letters in order to function properly, so rename it using capitals (it does not have a filename extension, just HOSTS. Mine is in caps. and it works fine. you can block any website as long as you Know it's name (you can't use IP numbers, only a proper URL name).
Each site you wish to block must be on a new line beginning with 127.0.0.1 followed by at least one space, then the website name.

You can download a ready-made HOSTS file free from here:

http://www.mvps.org/winhelp2002/

It's already configured to block loads of unsavoury sites but you'll have to add google to it yourself.
Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
No access to secure sites atsirk07 Windows XP 4 02-03-2005 07:59 PM
Recent programs, docs list and Internet sites question Stratus Windows XP 0 06-03-2004 03:17 PM
internet web sites pcfanatic2 Internet 8 09-05-2003 10:34 PM
IE experiencing HEAVY LAG on certain sites sougouk Windows XP 7 07-14-2003 05:32 PM
can't view source code of sites? Rob Barclay Windows NT/2000/2003 3 11-29-2002 08:03 AM



All times are GMT -5. The time now is 09:59 PM.


Designed by eXtremepixels. Powered by vBulletin Version 3.5.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 2.3.2 © 2005, Crawlability, Inc.