JasTek.net's SiteBlocker
By James A. Smith
Copyright 2004
3/29/2004
Contact James Smith
PLEASE READ ALL OF THIS FILE FOR CORRECT PROGRAM SETUP.
BACKUP YOUR SYSTEM BEFORE INSTALLING THIS OR ANY PROGRAM.
IF YOU CHARGE FOR ACCESS TO YOUR WEBSITE YOU MAY NOT DISTRUBITE, STORE OR LINK TO THIS PROGRAM.
EVEN IF SAID SITE HAS A "FREE" AREA OR "TRIAL" MEMBERSHIPS.
THIS PROGRAM IS GIVING AWAY "AS IS ONLY" AND COMES WITH NO WARRANTY OF ANY KIND.
ALL USE OF THIS PROGRAM IS AT YOUR OWN DISCRETION AND "AT YOUR OWN RISK".
THE AUTHOR IS NOT RESPONSIBLE FOR ANY SYSTEM DAMAGE OR LOSS OF DATA NO MATTER THE CAUSE.
Windows, Windows 98, Windows ME and Windows XP are trademarks of Microsoft Corp.
For the Latest computer news, free downloads and more.
Visit me at...
Jastek.net
This is useful if you have kids or employees that visit sites you don't wish them to.
It is also useful to block ads, cookies and other files you do not wish to receive from some sites.
It does this by modifying the Windows HOSTS file.
The HOSTS file is used by Windows to help your computer find other systems on the net faster.
So when you type "http://www.goggle.com" your computer looks to see if the URL or address is
already in the HOSTS file. If it is not, it then contacts your ISP's computers and gets the address
from them.
What JasTek's SiteBlocker does is takes a site you want blocked and then puts a entry into your HOST file.
Telling your system to look for the site at your computers loopback address of 127.0.0.1
What happens next is your computer will not find the site at that address and the web browser will tell you
said webpage can not be displayed.
The computer user in most cases will think the website is down or the URL has changed.
And they can not access the site.
For Windows XP copy to...
C:\WINDOWS\SYSTEM32\DRIVERS\ETC
For Windows 2000 copy to...
C:\WINNT\SYSTEM32\DRIVERS\ETC
For Windows 98/ME copy to...
C:\Windows
Then just make a shortcut to "JasTeknetSiteBlocker".
After you have done this the program will confirm you have blocked a new site.
Click ok and it will then close.
NOTE:
With older computers you may need to reboot the system before the site is blocked.
For Windows XP go to...
C:\WINDOWS\SYSTEM32\DRIVERS\ETC
And edit the HOST file in notepad.
You want to delete the line...
127.0.0.1 www.porn.com and then save the file.
Never delete the line 127.0.0.1 localhost
For Windows 2000 go to...
C:\WINNT\SYSTEM32\DRIVERS\ETC
And edit the HOST file in notepad.
You want to delete the line...
127.0.0.1 www.porn.com and then save the file.
Never delete the line 127.0.0.1 localhost
For Windows 98/ME go to...
C:\Windows
And edit the HOST file in notepad.
You want to delete the line...
127.0.0.1 www.porn.com and then save the file.
Never delete the line 127.0.0.1 localhost
Rev 1.00
3/29/2004