How to ban access to certain websites from your computer (Windows)

Reasons for blocking certain websites on computer can be different.

ichn the office or at work system administrators can prohibit access to social networks or entertaining platforms.

At home parents can also ban popular game services. Außerdem, with excluding usage of suspicious websites, you can protect computer from malware.

Simple and fast way to forbid opening website is making changes in hosts_file.

For alternation host file you should know its location. In Windows 10, 8, und 7 (as well as in older OSs as XP, 2003, Vista) file HOSTS by default is placed in etc folder on part of the disk with OS, usually it is part C, full path is C:\WINDOWS system32 drivers etc

If your system is on the other part of the disk, you should look for file there, for example on D: D:\WINDOWS system32 drivers etc.

You can open the hosts file using Notepad in Windows.

In order to ban access to certain site it is necessary:

  1. After the last line 127.0.0.1 localhost create another line with IP address and website address that you plan to ban.
  2. IP may be left as 127.0.0.1 or simply 0.0.0.0
Zum Beispiel, in host file inscription may be as the following:
0.0.0.0 facebook.com
oder
127.0.0.1 facebook.com

hosts
Hosts file inside

In attempt to enter this popular network browser will show error of Internet-connection.

Occasionally prohibited websites are opened in browser despite ban is hosts file. In this case just write two lines with websites address with www prefix and without it.

Zum Beispiel, inscription 127.0.0.1 reddit.com und 127.0.0.1 www.reddit.com will certainly block reddit.com on your computer.

Über Trojan Mörder

Tragen Sie Trojan Killer-Portable auf Ihrem Memory-Stick. Achten Sie darauf, dass Sie in der Lage sind, Ihr PC keine Cyber-Bedrohungen widerstehen zu helfen, wo immer Sie sind.

überprüfen Sie auch

Trojan Virus and Latest threats

In computer sciences, Trojan refers to the virus or malware that injects the computer from

Can antivirus remove malware?

Seeing that computers are a necessity in every household, office and business. Their security and

Hinterlasse eine Antwort