HOW TO: Block Websites Without Using Any Software

This is only for parents (Ha ha..!) who want to protect their children from accessing unwanted websites. It is simple to block. You don’t need any software for this. You can ask me “why I need this trick?” since many browsers provide you option for blocking websites. Yes that is true. But if by any chance your child is tech-savvy minded, he/she can easily install another browser and access those sites. But this trick is done in the system so it automatically prompts all the browsers to block that site. Here is the trick. You may get worry for accessing these sections in your system, if you do these steps carefully, it really works fine and no issues will rise. Windows uses a Hosts file to maintain a personal list of web addresses. The Hosts file will be checked when any URL request is made. First go to C:\Windows\System32\Drivers\Etc folder.

You can block the sites by adding entries to Windows “Hosts” file and it is editable file, so open it with notepad. At the bottom you can a line like this, 127.0.0.1 localhost Now type a line similar to it below, with the URL of the site which you are going to block. 127.0.0.1 www.xyz.com

Open the hosts file with a word processor like NotePad

Open the hosts file with a word processor like NotePad

You can block the sites by adding entries to Windows “Hosts” file and it is editable file, so open it with notepad.

At the bottom you can a line like this,Inside Hosts file

127.0.0.1 localhost

Now type a line similar to it below, with the URL of the site which you are going to block.

127.0.0.1 www.xyz.com

The number 127.0.0.1 is the “loop back” IP address of your own computer, so Windows skips the link to that site and moves on.

So thus that website is blocked permanently in your system because the DNS for the website has been changed to 127.0.0.1 instead of the real DNS. You can also do this for preventing ads and spyware.

21st Mar 09. Posted in Security.

View or Post Comments.