how do I really block certain websites?

Page 1 of 2 12 LastLast

  1. Posts : 406
    Windows 10 21H1
       #1

    how do I really block certain websites?


    Apparently, Windows 10 does not honor the hosts file, so I'm a bit confused as to how to block access to certain sites (specifically, I want to block YouTube on the computer that kids are using for online school classes, but the question is general, not about the specific site).

    From my previous experience, I simply added a line to the hosts file "127.0.0.1 youtube.com", but it appears that this has no effect on whether youtube can be reached by either Firefox or Opera (the latter was recently discovered by the kids as having a "cool" gaming skin).

    Another possibility is to block the site using the firewall (ESET in my case). But I'm confused as why won't the host file be enough. Any ideas?
      My Computer


  2. Posts : 8,111
    windows 10
       #2

    The host file does work it can be bypassed if you use VPN and some sites may have several IPS
      My Computer


  3. Posts : 406
    Windows 10 21H1
    Thread Starter
       #3

    No, there is no VPN. Just straight Firefox and/or Opera. Do you mean that i have to write something else in the hosts file?
      My Computer


  4. Posts : 2,068
    Windows 10 Pro
       #4

    The hosts file should do it the trick.
      My Computers


  5. Posts : 406
    Windows 10 21H1
    Thread Starter
       #5

    What I'm reading elsewhere in the net, is that modern browsers are now using something called "DNS over HTTPS" where they are not using the PC to resolve DNS quieries, but rather something in the cloud. Seems logical that in that case the hosts file is ignored. Anyone can shed more light on that ?
      My Computer


  6. Posts : 1,604
    Win 10 home 20H2 19042.1110
       #6

    See if new instructions on this page help you: Blocking Unwanted Connections with a Hosts File
      My Computers


  7. Posts : 11
    Windows 7/Windows 10
       #7

    The HOSTS file will work [the browser is faster with 0.0.0.0. rather than 127.0.0.1] with a standard browser.
    This is of course all installed/hosted on a PC by PC basis and wont stop a device you have no knowledge of connecting to a site.
    However the HOSTS file can be bypassed using a proxy or TOR.

    You will need to block it at router/modem/firewall stage I'm afraid to be sure.
    It does depend on their (the people your trying to stop) knowledge, skill and determination to access these sites, how far you’ll need to go
      My Computer


  8. Posts : 5,452
    Windows 11 Home
       #8

    You can use Forticlient's webfilter (version 6.0). You can choose categories, like adult, social, etc and add exclusions for webpages. It has also an ultimate malware filter. I believe you can specify webpages as well.
    Attached Thumbnails Attached Thumbnails how do I really block certain websites?-capture_02112021_214532.jpg  
      My Computer


  9. Posts : 11,247
    Windows / Linux : Arch Linux
       #9

    Hi there
    You either have to block it at the router level or set internet access from client PC's that use your home internet via a proxy server.

    Even then if kids say have a mobile phone then all they have to do is create an access point using the phone 4 or 5g system if they have their own accounts and pay for data rather than go through a wifi system.

    Control via Router access is probably your best bet -- you need a good router though - cheapish consumer grade ones probably won't have anything decently sophisticated apart from just being able to create logs.

    Cheers
    jimbo
      My Computer


  10. Posts : 1,807
    Windows 10 Pro 21H1 19043.1348
       #10

    As jimbo mentioned, blocking a url with the router could be an easy option. It might even be an idea to pickup a newer router if yours doesn't utilize an 802.11ac type protocol and have a url filtering feature.


    how do I really block certain websites?-0215-url-filter-youtube.jpg

    how do I really block certain websites?-0215-site-cant-reached.jpg
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 14:14.
Find Us




Windows 10 Forums