Computer Forums  

Go Back   Computer Forums > Internet > General Internet

General Internet The International Network - what you are connected to right now. Talk about it here.

Welcome to CompuForums!

We are a friendly computer forum where you can come to get help with your computer problems, talk about computers and the internet and meet like-minded people. Whether you are a beginner or an expert, everybody is welcome and equal here.
Would you like to start posting on these forums today? Just register below, it only takes a minute!


Username: Password: Confirm Password: E-Mail: Confirm E-Mail:
Agree to forum rules 

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05/12/06, 22:04
Newbie
 
Join Date: 25 Nov 2006
Posts: 8
pappy17 is on a distinguished road
Default Blocking certain websites

Is there a way to block certain websites?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06/12/06, 07:03
Ash's Avatar
Ash Ash is online now
is awesome
 
Join Date: 27 Jul 2005
Location: Devon, England
Posts: 4,068
Ash has a reputation beyond reputeAsh has a reputation beyond reputeAsh has a reputation beyond reputeAsh has a reputation beyond reputeAsh has a reputation beyond reputeAsh has a reputation beyond reputeAsh has a reputation beyond reputeAsh has a reputation beyond reputeAsh has a reputation beyond reputeAsh has a reputation beyond reputeAsh has a reputation beyond repute
Default

Yes there are multiple ways, and there are also multiple ways around them. However, the one which is hardest to get around is by using the hosts file.
Here is a how-to:
Quote:
Windows uses a HOSTS (located in %systemdrive%/windows/system32/drivers/etc) file to maintain a personal list of web addresses. Any time a request is made for a URL, the HOSTS file will be checked first. If a corresponding address is found you will be directed to that IP without first consulting a DNS Server. The original intent of this file was to define where sites exist; we will use it in this context to define where they don’t exist. Lets first look at a HOSTS file entry



127.0.0.1 localhost



This is the loopback address for your machine for those cases where an application needs to reference the local machine by IP address- the loopback address will always be valid. This entry should never be changed.



Now let's add an entry to block



127.0.0.1 www.yahoo.com



We are telling our local machine that Yahoo actually exists on the local machine. Any request for www.yahoo.com will be directed to the local machine and therefore effectively blocked. You could also use the IP of another website if you wanted to be "creative".



Let’s take a closer look at a URL http://www.yahoo.com
  • http:// defines the transfer protocol in this case Hyper Text Transport Protocol; this is the standard for viewing websites. Another common protocol is ftp:// for file transfer.
  • www is the host
  • yahoo.com is the domain
  • .com is further classified as the TLD (Top Level Domain)
A HOSTS file entry will disregard the transfer protocol so it isn’t needed. However, the host does play an important role. A webmaster may choose to define a host for his/her website. “WWW” has become the universal standard for the default host. It is just as common to define a site with no host as well. This means that as far as DNS goes www.yahoo.com & yahoo.com are two totally different sites, even though they resolve to the same place. Because of this to effectively block the site, you must also block all hosts. This would usually mean:



127.0.0.1 yahoo.com

127.0.0.1 www.yahoo.com

If it dosen't work please let us know so another solution can be found.
__________________
~Ash
Seen a bad post? Report it! Click the triangle in the top right hand corner of the post.
Want to get in touch? Send me a PM
Your opinion matters! Please consider taking part in The Suggestions Box thread: Click Here
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 12/12/06, 23:33
Newbie
 
Join Date: 25 Nov 2006
Posts: 8
pappy17 is on a distinguished road
Default

That sounds like what I need to do but I am not quite sure I follow. Where do I go to do this?
Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 13/12/06, 02:29
Kilobyte
 
Join Date: 15 Jun 2006
Posts: 30
Webmist is an unknown quantity at this point
Default

Are you wanting to block the whole site? Most browser's have security settings to block websites from loading within the browser itself. A little more understanding of what you are wanting to not be able to see could help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 13/12/06, 02:53
Newbie
 
Join Date: 25 Nov 2006
Posts: 8
pappy17 is on a distinguished road
Default

There are just a couple that I would rather my oldest not be able to get. Nothing bad it just takes up way too much of his time!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 21:50.


Content © Copyright 2005-2010 CompuForums. All Rights Reserved. Some content © Copyright of the respective owners.
Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.1 PL1