Home  >  Article  >  How to block a website

How to block a website

zbt
zbtOriginal
2023-09-05 11:09:563837browse

How to block a website: 1. Click [This Computer] and follow the path [C:\\Windows\\System32\\drivers\\etc] to open the folder where the host is stored; 2. Right-click [hosts] file, click Properties; 3. Click Security; 4. Click [Add] in the middle of the permissions interface to prepare to add permissions; 5. Select your current user name in [Group or User Name], as shown in the picture blue part. Check [Full Control] in the [Permissions] box, click OK, and so on.

How to block a website

Everyone who uses a computer to browse the web will be troubled by pop-up advertisements and inappropriate content from some websites, which is annoying to watch. Some web pages even have trackers installed. , which is not conducive to computer security. Those with children at home need to block inappropriate websites to prevent them from being opened unintentionally. How to permanently block a website on your computer? You may wish to refer to the settings below.

The specific method is as follows:

1. Click [This computer] and follow [C:\\Windows\\System32\\drivers\\etc] Path to open the folder where the host is stored;

How to block a website

2. Since the operation requires administrator rights, right-click the [hosts] file and click Properties;

How to block a website

3. Click Security;

How to block a website

4. Click [Add] in the middle of the permissions interface to prepare to add permissions;

How to block a website

5. Select your current user name in [Group or User Name], as shown in the blue part in the picture. Check [Full Control] in the [Permissions] box and click OK;

How to block a website

6. Next, open the [hosts] file with Notepad and enter at the end of the file [127.0.0.1 Website address to be blocked], there must be a space before the URL, and it must be preceded by [www. ] at the beginning, click to save the file.

How to block a website

The editor will share with you how to permanently block a website on your computer. If you are confused by pop-up ads or bad messages, just use the above method to block and create a good website. Internet environment.

The above is the detailed content of How to block a website. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn