Home > Uncategorized > Not Allowing To See Some Webs In Your Web Browser

Not Allowing To See Some Webs In Your Web Browser

December 22nd, 2009 Angel Leave a comment Go to comments

Description

It could be that you don’t want your children seeing some web pages or something more sophisticated or for example you are a network administration that prefer to not let your users enter in some pages.

Solution

When Internet Explorer, Mozilla Firefox, any browser or application tries to solve a name to an IP number follows several steps.

The last one is questioning a DNS server about it, but what could happens if we interfere in the first step.

1. Press Windows Key +R and type:

notepad %windir%/system32/drivers/etc/hosts

You will see something like this:

image

2. Enter a new line indicating to pointer to localhost when someone tries to enter in whatever web you want to block.

For example to block a web named www.fullofvirus.com enter:

127.0.0.1 localhost
127.0.0.1 fullofvirus.com
127.0.0.1 www.fullofvirus.com

So it will look like this way:

image

Don’t forget to save the host file. You need administrator rights to do this.

You can make a ping to know if the changes are made correctly:

image

Related posts:

  1. Not Allowing To Execute A Program On Windows 7
  2. Not Allowing The Change Of Home Page In Internet Explorer
  3. Copying Only The Files That Have Changed To A Replica Directory
  4. How To Retrieve The Name And Links Of Every Entry In A RSS Feed?
  5. Is There A New Program On My Start?
Categories: Uncategorized Tags:
  1. No comments yet.
  1. No trackbacks yet.