Wednesday, March 11, 2009

how to block any website in XP

here you have some tips to block them easly....
Go to your HOSTS file. It's in your Windows, system 32, drivers,etc folder.

Copy HOSTS and rename HOSTS.old.
Open HOSTS with notepad and
Add under the last line where XXXX is the name of the site you are blocking.
Close HOSTS and answer yes

For example if you wanted to block Myspace, HOSTS would now look like this:

# Copyright © 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:
# # source server
# # x client host
# localhost

so this way you have total control over the undesired sites...


  1. This is what i have been searching for long....

  2. I think any IP datagram with a source or destination address set to a loopback address must not appear outside of a computing system, or be routed by any routing device. Packets received on an interface with a loopback destination address must be dropped.