Use the host file...I'll assume u have XP
C:\Windows\System32\Drivers\etc\hosts
Once you have found the hosts file, right click it and select Properties. Uncheck the "Read-Only" attribute (if checked). Click OK.
Double click the 'Hosts' file and select "Notepad" from the list of programs to open it with.
Once you have the hosts file open in Notepad, you will see an entry such as:
Code:
# 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
To block a certain web page from loading, add the following:
127.0.0.1
www.webpage.com
Your Hosts file will now look like this:
127.0.0.1 localhost
127.0.0.1
www.webpage.com
Add as many web addresses as you like in the same fashion.
Once you are finished, go up to 'File' and click 'Save'.
The web pages listed in your 'Hosts' file should be blocked from access. It may be necessary for you to reboot your computer for these changes to take effect.
On a side note regarding the host file....there are numerous sites out there that maintain up to date lists of "Bad / Dodgy" websites for download...its a good way to not get infected with spyware....