3 Ways to Block a Website Without Using Programs

Table of contents:

3 Ways to Block a Website Without Using Programs
3 Ways to Block a Website Without Using Programs
Anonim

Often, while surfing the internet, we are disturbed by the windows of some sites that show sexual content. There is a very simple way to block a website without using programs.

Steps

Method 1 of 3: For Windows

Block a Specific Website Without Software Step 1
Block a Specific Website Without Software Step 1

Step 1. Find the HOSTS file

For Windows NT, find it in C: / winnt / system32 / drivers / etc. For other versions, C: / windows / system32 / drivers / etc.

Block a Specific Website Without Software Step 2
Block a Specific Website Without Software Step 2

Step 2. If the file is not present, create it by clicking on File >> New >> Text Document

Call it "HOSTS" without the.txt extension (for more info, see the Tips at the end of this page).

Block a Specific Website Without Software Step 3
Block a Specific Website Without Software Step 3

Step 3. Open the HOSTS file with Notepad

Right click, choose Open with >> Notepad >> OK.

Block a Specific Website Without Software Step 4
Block a Specific Website Without Software Step 4

Step 4. Add the site name to the end of the file

For example, if you want to block sitomaligno.com, add the address to the end of the file (after 127.0.0.1 press TAB, not Space):

Block a Specific Website Without Software Step 5
Block a Specific Website Without Software Step 5

Step 5. Save the file

Method 2 of 3: For Mac

Block a Specific Website Without Software Step 6
Block a Specific Website Without Software Step 6

Step 1. Open the "Finder"

Block a Specific Website Without Software Step 7
Block a Specific Website Without Software Step 7

Step 2. Click on the "Go" menu, then "Go to folder

..".

Block a Specific Website Without Software Step 8
Block a Specific Website Without Software Step 8

Step 3. Type "/ private" in the opened window and click GO

Block a Specific Website Without Software Step 9
Block a Specific Website Without Software Step 9

Step 4. Open the etc folder

Block a Specific Website Without Software Step 10
Block a Specific Website Without Software Step 10

Step 5. Find the Hosts file and open it with TextEdit

Block a Specific Website Without Software Step 11
Block a Specific Website Without Software Step 11

Step 6. Add the address of the site that is bothering you

Block a Specific Website Without Software Step 12
Block a Specific Website Without Software Step 12

Step 7. Note that you should add both the addresses "sitomaligno.com" and "www.sitomaligno.com" to the list

Method 3 of 3: Block an entire category of sites using a Web Filter

Block a Specific Website Without Software Step 13
Block a Specific Website Without Software Step 13

Step 1. Download a reputable Web Filter such as K9 Web Protection

Block a Specific Website Without Software Step 14
Block a Specific Website Without Software Step 14

Step 2. Open the downloaded file and install the program

Block a Specific Website Without Software Step 15
Block a Specific Website Without Software Step 15

Step 3. Your web filter will automatically protect you from pornographic and other risky sites

You can also manually add the addresses to block.

Advice

  • To see the.txt extensions: click in the My Computer >> Tools >> Folder Options >> View window, and uncheck the box for "Hide known file extensions".
  • Make sure the hosts file is set to read only. To check, right-click on the file and click Properties.
  • If you can't delete the.txt extension, open a DOS window (Start -> Run -> cmd) and type:

cd C: / windows / system32 / drivers / etc [press Enter / Return] rename hosts.txt hosts [press Enter / Return]

If you are using Windows NT / 2000 / XP Pro, replace "winnt" with "windows" in the cd command. Close the DOS window.

  • Windows Vista users may not have access to the hosts file, if so:

    • Start Notepad with administrator privileges, then open the hosts file and edit it.

Recommended: