How can we block access to a site (Facebook, Instagram, etc) on Windows 7, Windows 8.1 or Windows 10

Next the method by which you can block access to a site is relatively simple and we think it will be useful for their parents children spend a lot of time on the computer pe gaming sites, movie, Facebook, Instagram or others.

Metoda este functionala pe toate sistemele de operare Windows, iar partea cea mai avantajoasa este ca nu necesita instalarea vreunui software sau aplicatii care sa fie descoperita. In plus va fi foarte greu pentru oricine sa stie cum poate sa scoata limitarea accesului la anumite site-uri.

Cum putem sa blocam accesul la anumite site-uri pe Windows (ex. Facebook si Instagram)

Everyone's intent, when we access a site, we need to get into one Web address. The web address is composed mainly of a domain name. E.g, facebook.com is the domain name. As a domain name has a web page, this name must be based on an IP address that will lead to the host server. The IP address of a domain can be discovered very quickly through a single PING.
If we do it somehow domain name to another IP, possibly non-existent / local (127.0.0.1 for example), then the web page will no longer be accessible. The domain name will take you to the IP address you entered. Now let's see how we can do this.

Cum putem sa blocam / limitam accesul la un site pe Windows

In Windows exista un fisier “hosts” ce nu are extensie si acesta poate face exact ce ne intereseaza pe noi. Prin intermediul fisierului “hosts” se poate schimba destinatia / ruta unui domeniu. Route.
Pe majoritatea versiunilor de Windows 10 Pro si Windows 10 Enterprise acesta nu contine nici o linie activa. Cand 0 sa-l deschideti, o sa vedeti ca toate liniile incep cu simbolul “#”. Ceea ce inseamna ca linia este inactiva. Nu este citita de sistemul de operare.
Let's see cum putem bloca accesul la facebook.com si instagram.com pe Windows, using the "hosts"

1. go to C: \Windows\System32\Drivers\etc. Here we will identify the hosts file. Check to have no extension.

2. Open the "hosts" in Notepad and see do not have active code lines in it. Lines without "#" in front of. Right clickOpen withNotepad.

3. We close the hosts file and open Notepad again (from applications), where we pass the following lines:

127.0.0.1 facebook.com
127.0.0.1 instagram.com
127.0.0.1 fb.com
127.0.0.1 *.facebook.com
127.0.0.1 *.fb.com
127.0.0.1 *.instagram.com

4. Save the file newly created with the name "hosts"On the Desktop. Most of the time, it will be saved with the .txt extension. Delete this extension and confirm the change.

5. We copy the newly created "hosts" file, over the original C: \Windows\System32\Drivers\etc. Replace and Accept Admin Copy.

After the new file was copied to C: \Windows\System32\Drivers\etc, the addresses can no longer be accessed from that PC.

If you want to undo the restrictions, it is enough to edit the "hosts" file and put the "#" symbol in front of each line.

Este foarte posibil ca dupa actualizari mai importante ale sistemului de operare (Windows Updates), acest fisier “hosts” sa fie rescris sau sa fie inlocuit automat cu cel original. Este bine sa verificati periodic acest lucru.

How can we block access to a site (Facebook, Instagram, etc) on Windows 7, Windows 8.1 or Windows 10

About the author

Stealth

Passionate about everything that means gadget and IT, I am pleased to write on stealthsettings.com from 2006 and I love to discover new things about computers and macOS, Linux operating systems, Windows, iOS and Android.

Leave a Comment