Site blacklist

Page 1 of 3 123 LastLast

  1. Posts : 4
    Windows seven
       #1

    Site blacklist


    Hi is there a way on my OS to blacklist some sites. Ex I want to make sure that no user on my machine visit facebook.
    Thx.
      My Computer


  2. Posts : 28,845
    Win 8 Release candidate 8400
       #2

    poumtatalia said:
    Hi is there a way on my OS to blacklist some sites. Ex I want to make sure that no user on my machine visit facebook.
    Thx.

    It would help if you told us about your network setup. Do you have a router? if so blocke facebook there


    Ken
      My Computer


  3. Posts : 1,519
    El Capitan / Windows 10
       #3

    poumtatalia said:
    Hi is there a way on my OS to blacklist some sites. Ex I want to make sure that no user on my machine visit facebook.
    Thx.
    This is not a secure way but you can add a line to C:\Windows\System32\drivers\etc\hosts like this:

    Code:
    # Copyright (c) 1993-2009 Microsoft Corp.
    #
    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
    #
    # This file contains the mappings of IP addresses to host names. Each
    # entry should be kept on an individual line. The IP address should
    # be placed in the first column followed by the corresponding host name.
    # The IP address and the host name should be separated by at least one
    # space.
    #
    # Additionally, comments (such as these) may be inserted on individual
    # lines or following the machine name denoted by a '#' symbol.
    #
    # For example:
    #
    #      102.54.94.97     rhino.acme.com          # source server
    #       38.25.63.10     x.acme.com              # x client host
    
    # localhost name resolution is handled within DNS itself.
    #	127.0.0.1       localhost
    #	::1             localhost
    
    0.0.0.0 facebook.com
    0.0.0.0 www.facebook.com
    Or get http://download.live.com/familysafety
      My Computer


  4. Posts : 31,249
    Windows 11 Pro x64 [Latest Release and Release Preview]
       #4

    One system that I have used quite often is the service provided by OpenDNS.

    This provides an alternate to the DNS servers used by default by your ISP, in addition, which relates to your request, is a site blocking service.

    You can block sites by a general group - EG. all social networks or you can set it to allow one and block others.

    The service is totally free for home users and is quick to set up, also as the blocking is done in the DNS server, and if you set the DNS settings in your router (password protect the Router administration page ). it is not changeable by the actual users.

    OpenDNS | Internet Navigation And Security
      My Computers


  5. Posts : 4
    Windows seven
    Thread Starter
       #5

    Thanks, I used the very simple host file, it works fine and smooth.
      My Computer


  6. Posts : 5,941
    Linux CENTOS 7 / various Windows OS'es and servers
       #6

    Hi there
    Most decent Routers in their security set ups allow you to block IP addresses.

    This is IMO a better solution as this will work with ALL computers connected to your network --wirelessly or via a cable --whether Windows, Mac or Linux.

    You also don't have to do anything if you re-install the OS either

    Pic enclosed of Netgear router --others are much the same I'd guess.

    You can also establish rules etc etc.

    IMO blocking via the Hardware setup on the router is far better as a knowlegeable user could easily get round the Hosts file restriction by using a "Proxy" to access blocked sites if you've only done it in software.

    Using Content filtering on the hardware would be much harder to "break" as the user would have to logon to the router in order to change anything. Hopefully you've secured THAT password.

    The best way of all actually is to ONLY allow your users to connect to the internet THROUGH YOUR OWN PROXY but this needs a bit of set up and organisation.

    Failing that I'd use the ROUTER's HARDWARE blocking mechanism.

    The logs will also tell you what IP addresses were used so you can tighten up any "After the fact" security breaches too.

    Cheers
    jimbo
    Attached Thumbnails Attached Thumbnails Site blacklist-routerblock.png  
      My Computer


  7. Posts : 248
    Windows 7 Ultimate x64
       #7

    baarod said:
    poumtatalia said:
    Hi is there a way on my OS to blacklist some sites. Ex I want to make sure that no user on my machine visit facebook.
    Thx.
    This is not a secure way but you can add a line to C:\Windows\System32\drivers\etc\hosts like this:

    Code:
    # Copyright (c) 1993-2009 Microsoft Corp.
    #
    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
    #
    # This file contains the mappings of IP addresses to host names. Each
    # entry should be kept on an individual line. The IP address should
    # be placed in the first column followed by the corresponding host name.
    # The IP address and the host name should be separated by at least one
    # space.
    #
    # Additionally, comments (such as these) may be inserted on individual
    # lines or following the machine name denoted by a '#' symbol.
    #
    # For example:
    #
    #      102.54.94.97     rhino.acme.com          # source server
    #       38.25.63.10     x.acme.com              # x client host
    
    # localhost name resolution is handled within DNS itself.
    #    127.0.0.1       localhost
    #    ::1             localhost
    
    0.0.0.0 facebook.com
    0.0.0.0 www.facebook.com
    Or get Windows Essentials: Other Programs - Microsoft Windows
    It didn't work, I added the web address and the E-mail address on 2 separate lines so the browser cna still acces the web site.

    jimbo45 said:
    Hi there
    Most decent Routers in their security set ups allow you to block IP addresses.
    Pic enclosed of Netgear router --others are much the same I'd guess.
    You can also establish rules etc etc.

    Cheers
    jimbo
    It didn't work, Netgear router here.
    I added the web address plus the E-mail address.

    I started receiving "persistent and harassing" spam from a new web social service "nirvam dot it", E-mail "nirvam at nirvam dot it".
    They are sending me two and even three mails every day it doesn't matter if I label it as spam in Gmail, they still keep coming.
    I never visited their service nor I knew about them before getting their SPAM!
    So simple question, how to I block them and eventually how do I report/blacklist them without dealing with them directly?

    How can I kill them, how to report them for illegally harvesting E-mail addresses?
      My Computer


  8. Posts : 4,161
    Windows 7 Pro-x64
       #8

    The updated Host file won't take affect until you reboot.
      My Computer


  9. Posts : 10,485
    W7 Pro SP1 64bit
       #9

    looked said:
    It didn't work, I added the web address and the E-mail address on 2 separate lines so the browser can still access the web site.
    Several websites suggest disabling the Windows service named DNS Client if you are going to use a HOSTS file. You should also close your browser to make sure that the info that it has cached is cleared. Make sure that the browser has left RAM. This can take a minute or so after the Window has closed. Once you restart your browser, it should read the contents of your HOSTS file.

    Restarting the computer (as carwiz mentioned) should clear the DNS cache too - if you opt not to disable the DNS Client service. Let's just hope that you won't be editing/restarting/testing the HOSTS file too often

    If you can show us what your HOSTS file entries look like, then maybe we can spot any errors. I'm not sure how you can add/block e-mail addresses to a HOSTS file. More about that later*.


    jimbo45 said:
    It didn't work, Netgear router here.
    I added the web address plus the E-mail address.


    I started receiving "persistent and harassing" spam from a new web social service "nirvam dot it", E-mail "nirvam at nirvam dot it".
    They are sending me two and even three mails every day it doesn't matter if I label it as spam in Gmail, they still keep coming.
    I never visited their service nor I knew about them before getting their SPAM!
    So simple question, how to I block them and eventually how do I report/blacklist them without dealing with them directly?

    How can I kill them, how to report them for illegally harvesting E-mail addresses?
    *I do not think you can block e-mails via the HOSTS file or via router settings. Those blocks are meant to prevent a computer on your network from getting data from a domain (a website like facebook.com). The e-mails that you are getting are coming to you thru Google's domains/website. If you blocked Google's mail servers, you could not get any e-mails.

    It might be best to get a new e-mail address.
      My Computer


  10. Posts : 4,161
    Windows 7 Pro-x64
       #10

    Or get a new mail handler. Windows Live Mail works. :) It allows blocking. And you can use it to gather all your email accounts to one handler. The trouble with many of the mail account servers is that you will get mail even if your account is close to a "shotgun" broadcast. This is where you might have an account called "JoeBlue" and the broadcast will go to accounts starting with J O E or J O E B L... It's just how mail servers resolve names. Also, the return address in a message may not be where it actually came from.

    I know the Host file works for blocking inbound domains. I use it quite extensively. You can't block email addresses with it but you can block a web domain. If you rebooted and it didn't work, the domain wasn't entered correctly. Or you don't understand how the host file works. It's for a browser and I know it works for MS IE versions.
      My Computer


 
Page 1 of 3 123 LastLast

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

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