Selasa, 24 November 2009

Blocking unwanted site at OS XP

i write this post couse some time i forgot to reconfigure or setting how to block unwanted site when some people use my internet conection for unnesecery thing or porn site,then my friend also ask me how to do that, thats ways i write this into my blog,truly it's not block the site but only forward the ip to deferent ip regarding to internet conection.
first you go to c:\windows\system32\drivers\etc\then open host file using notepad
after it opened the inside note like this:

------------------------------------------------------------------------------------
# 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
192.168.1.3 www.pornsite.com
192.168.1.4 pornsite.com
192.168.1.5 www.google.com
192.168.1.9 google.com

-------------------------------------------------------------------------------------



you are only write (decrease the parameter) the bold note after that save and restart
and if you want to know what site always open you can go to C:\Documents and Settings\user\Local Settings\history, but you must open the folder option from tool (explorer) to showed local setting from user then show hiden file must activated.


Tidak ada komentar: