Blocking malicious websites

Source: Internet
Author: User

Www.2cto.com. If you knew it, it would have been a long time before you had moved into the Internet.

With the development of the Internet, there are often some malicious websites. Even if there is anti-virus software, the computer is still infected with viruses. Currently, many software programs can block malicious websites, but they must be installed separately and occupy computer space. Here, we will introduce a simple method that allows you to block malicious websites as you like.
 
Assume that you want to shield the website "http://123.com" by taking the following steps:
 
1. Open notepad and enter "0.0.0.0 123.com". Note that there must be a space between the two sentences. If you want to add other websites, you only need to wrap the line and enter "0.0.0.0 website domain name.
 
2. Save the file. If it is a Windows 2000/XP system, it is saved in the WinntSystem32DriversEtc folder. The file name is Hosts (Note: The extension cannot be used. This file cannot be recognized by Windows after it is saved)
 
3. restart the computer.
 
Open your browser and enter "123.com" in the address bar.
 
If you change "0.0.0.0" in the above file to the IP address of the corresponding website, the website can be opened more quickly.




Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.