Thursday, September 4, 2014

The easy way to block site using Notepad (without third party applications)

There are easy ways that clould block certain sites without install third party applications in Windows. Just use Notepad program, you can restrict access to any sites. But because the process is using Notepad, then blocking applies only to computers that you use only and does not apply to other computers in the same network. Here's the steps that you could follows:

  1. Open Notepad
    Open the Notepad application using administrator privileges.
  2. Explore the file
    Browse files located in the folder C:\windows/system32/drivers/etc. Select File Name with hostnames. Do not forget to change the file to All Files option. Click Open
  3. Add the command
    Once the file is opened will perform a script where each computer has a different view. At the end of the line, add the command followed by the sites that you need to blocked. For example if you want to block www.google.com then on the bottom line add 127.0.0.1 www.google.com. If you want to add another site to be blocked, press Enter to create a new line and type in the same way.
  4. Mobile version
    With that command, you can not access the desktop version of the website www.google.com. If they have a mobile version of the address, you also have to block it by adding another command as in the previous step. Just enter the address of the mobile version, for example 127.0.0.1 m.google.com.
  5. Perform test
    Close Notepad and do Save. Open the browser (supports all popular browsers) and try to enter the site address to prove that the site has been blocked. If you want to restore to its original state, you just delete the command line that was made earlier.

No comments:

Post a Comment