Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Site blacklist

17 Feb 2010   #1
poumtatalia

Windows seven
 
 
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 System SpecsSystem Spec
.
17 Feb 2010   #2
zigzag3143

Win 8 Release candidate 8400
 
 

Quote   Quote: Originally Posted by poumtatalia View Post
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 System SpecsSystem Spec
17 Feb 2010   #3
baarod

El Capitan / Windows 10
 
 

Quote   Quote: Originally Posted by poumtatalia View Post
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 System SpecsSystem Spec
.

17 Feb 2010   #4
Barman58

Windows 10 Pro x64 x2 Windows 10 Enterprise x64, Ubuntu
 
 

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 System SpecsSystem Spec
18 Feb 2010   #5
poumtatalia

Windows seven
 
 

Thanks, I used the very simple host file, it works fine and smooth.
My System SpecsSystem Spec
18 Feb 2010   #6
jimbo45

Linux CENTOS 7 / various Windows OS'es and servers
 
 

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
-routerblock.png  
My System SpecsSystem Spec
01 Nov 2014   #7
looked

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by baarod View Post
Quote   Quote: Originally Posted by poumtatalia View Post
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.

Quote   Quote: Originally Posted by jimbo45 View Post
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 System SpecsSystem Spec
01 Nov 2014   #8
carwiz

Windows 7 Pro-x64
 
 

The updated Host file won't take affect until you reboot.
My System SpecsSystem Spec
02 Nov 2014   #9
UsernameIssues

W7 Pro SP1 64bit
 
 

Quote   Quote: Originally Posted by looked View Post
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*.


Quote   Quote: Originally Posted by jimbo45 View Post
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 System SpecsSystem Spec
02 Nov 2014   #10
carwiz

Windows 7 Pro-x64
 
 

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 System SpecsSystem Spec
Reply

 Site blacklist




Thread Tools






Similar help and support threads
Thread Forum
Hyperlink syntax to open a parent site and then child site
I may not have this under the correct section and please keep in mind that I am not a programmer but here goes. I am trying to add a hyperlink in Outlook 2007 signature file that will open a child site, but the child site seems to need some personalized information in the cache that comes from...
Browsers & Mail
How to blacklist an app from the programs list
How to blacklist an application from showing up on the programs list (the lists of app that you usually open, just above the windows logo when you first click onto it..) Thanks
General Discussion
standalone blacklist/restricted sites importer
for xp and 2000 biss made a nice program that managed the hosts file. i need such a manager and can't find one for windows 7. i know spybot has a hosts feature, and so i installed it and integrated their file, but I like to use several files {(steve martins, hpguru, and msmvps, as well as...
Software
THANK YOU to All on this Site - Your the Best!
Hello Gregrocker and all you other beautiful people who have helped me these last two days - you are absolutely fantastic with your patience and advice and i send you all lots of cyber kisses!!! ;););) I am jumping up and down - my laptop has now a clean install of Win7 freeing up 60GB from the...
General Discussion
Construction Blacklist Database Administrator Fined
ARRESTS, INDICTMENTS & SENTENCES (July 16, 2009) The man who maintained a blacklist database of builders in Britain has been fined GBP 5,000 (US $8,219) by the Crown Court. Ian Kerr kept information on more than 3,200 workers in the building industry; the workers were not aware of the...
Chillout Room
ACMA blacklist
It seems 1172 URLs are blacklisted by the Australian Government already, Whirlpool`s ISP was threatened with $11,000 a day in fines yesterday after a user on Whirlpool`s forum posted one of the links :sarc: ACMA takes aim at Whirlpool, supplier | Australian IT Link removed Hmm, the...
Chillout Room


Our Sites

Site Links

About Us

Find 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 21:43.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App