Tuesday, May 15, 2012

Block Websites in Windows WITHOUT using any Software

Internet is so vast that any information you need is just a mouse click away. Yet the technology that helps us explore and use the web also makes it easy to expose our personal information to others. Hackers and spammers often use this phenomenon to their advantage, creating malicious websites, that when visited, can track your browsing habits, steal your passwords and credit card information, or can infect your computer with malicious softwares such as Viruses, Worms and Trojans.

The easiest way to protect ourselves or our family members from accessing such dangerous websites is to BLOCK them altogether. There are actually many softwares available on the internet which are pretty good in blocking websites on your computer, but they cost money and are sometimes difficult to operate.

In this article I will show you how to block unsafe websites on your Windows PC without investing in any additional software.

Note : Blocking harmful websites is not a complete security solution. It is still recommended that you run anti-virus software on your computer and be careful of the websites you visit.

Here’s the trick :

1. Run Notepad as Administrator : For this go to Start  Start button  > All Programs > Accessories, right-click "Notepad" and select "Run as administrator"  User Account Control permission


Note : If you are prompted for an administrator password or for a confirmation, type the password, or click "Allow" or "Yes"

2. Within Notepad go to File > Open and select  "All Files" from the drop-down menu present near the bottom right corner of the window (check the screenshot).


3. Now type the following text in the "File name" field and click "Open" :

      C:\Windows\System32\drivers\etc\hosts

5.  The "hosts" file will open up. Go to the last line of the file and press the [Enter] key. Type 127.0.0.1 followed by the address of the website that you wish to block. For example, to block facebook.com, type :


Never add “http://” at the start of the URL. Doing so will make the entry invalid. Also note that writing "www" is optional.

6. To block more websites, type 127.0.0.1 followed by the website address in every new line. You can block as many websites as you like.


7. Save and close the file.

Thats it ! Now try to access the offending site(s) from your Web Browser. You’ll see that those specific website(s) will no longer be accessible.

In case you wish to undo the changes, follow Step 1-3 and delete the lines you had typed. You will again be able to open those sites.

Where to find Malicious Websites List ?


You can download customized "Hosts" file from Winhelp2002 (contains a comprehensive list of sites responsible for displaying ads, banners, 3rd party Cookies, 3rd party page counters, web bugs, and other parasites),  Peter Lowe’s Ad-server list (contains a list of ad and banner sites) and Technology Made Easy's Malicious Site List (our very own Hosts file).

Direct Links :

You can also use the software HostsMan to effectively manage your Hosts files

Also Check :

17 comments:

  1. good post about

    Block Websites in Windows WITHOUT using any Software

    ReplyDelete
  2. The steps shown to block unsafe websites is really effective .Thanks for such a valuable post.

    ReplyDelete
  3. I think that it's effective, But if this can be done on windows xp?
    A little writing about technology

    ReplyDelete
  4. hi

    this is really a good info. but i want to block websites by keywords without using software.
    is there any solution for it

    ReplyDelete
    Replies
    1. Unfortunately you can't, at-least without using any software.

      P.S : This thread might help you in you conquest. Happy hunting :)

      Delete
  5. it is not working after the doing this procedure..........

    ReplyDelete
    Replies
    1. Working for me. Are you sure you have followed the steps correctly?

      Delete
  6. Sir you are explained very well no dou It's Not Working.. Mister Sayeed is right..

    I also tried....

    ReplyDelete
    Replies
    1. Can you elaborate the steps you have undergone?

      Delete
  7. your solution is good but not enough. Because when some one delete the host file then blocked sites are opened.

    ReplyDelete
  8. This comment has been removed by the author.

    ReplyDelete
  9. I was very pleased to find this site.I wanted to thank you for this great read!! I definitely enjoying every little bit of it and I have you bookmarked to check out new stuff you post.
    Premium Wordpress Themes

    ReplyDelete
  10. Such a nice blog and i appreciate your all efforts about your thoughts. it's really good work. well done.
    simple portfolio wordpress themes

    ReplyDelete

Your feedback is always appreciated. We will try to reply to your queries as soon as time allows.