
first u open this address C:\WINDOWS\system32\drivers\etc
then create a note pad file and paste the following code and site which u want to restrict .
example :-
[color="Red"]# 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
127.0.0.1 mail.google.com
127.0.0.1 photobucket.com
127.0.0.1 mail.google.com/mail
127.0.0.1 login.yahoo.com
127.0.0.1
www.gmail.com
127.0.0.1
www.orkut.com
127.0.0.1
www.yahoo.com
127.0.0.1
www.youtube.com
#127.0.0.1
www.facebook.com
127.0.0.1
www.wikimapia.com
127.0.0.1
www.indiatimes.com
127.0.0.1
www.rediffmail.com
127.0.0.1
www.hotmail.com
127.0.0.1
www.hi5.com
127.0.0.1
www.myspace.com
now the above sites are compleately blocked except
www.facebook.com becoz check above at first is ther one symbel of "#" using this u can open that ste
i think it will be helpful to u
if it's not work mail me
mohan.sweet@yahoo.com