Use the host file...I'll assume u have XP
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:
# 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
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
# For example:
# 184.108.40.206 rhino.acme.com # source server
# 220.127.116.11 x.acme.com # x client host
To block a certain web page from loading, add the following:
Your Hosts file will now look like this:
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....