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.
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;

2. Since the operation requires administrator rights, right-click the [hosts] file and 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 blue part in the picture. Check [Full Control] in the [Permissions] box and click OK;

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.

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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Dreamweaver CS6
Visual web development tools
