Solved

Customised host file to block Facebook and all it's sub domains

Posted on 2010-09-09
5
1,218 Views
Last Modified: 2013-11-22
There seem to be various customised host files available for download that will block advertising/porn sites

Does anybody know where I can get one that will block facebook and all its sub domains? I've blocked facebook.com, m.facebook.com, blog.facebook.com but i keep finding more. It seems that every country has it's own sub domain (ie fr.fr.facebook.com)
0
Comment
Question by:metamatic
5 Comments
 
LVL 24

Expert Comment

by:DMTechGrooup
ID: 33638565
Instead of a host file most firewalls will allow you to block domains from within.. is this something you only want for a few users or all users? What type of firewall are you using?
0
 
LVL 12

Accepted Solution

by:
mccracky earned 500 total points
ID: 33639083
Have you thought about using something like OpenDNS rather than custom host files?  Maintenance would be MUCH easier.  Then you set up the computers or firewall depending on which computers (or all of them) that you want to control.

See:

http://www.opendns.com/
0
 
LVL 5

Expert Comment

by:AC_Nova
ID: 33681608
1.1.1.1        *.facebook.com
0
 
LVL 5

Expert Comment

by:AC_Nova
ID: 33681715
actually scrap that wildcards dont work.

just list all websites e.g

1.1.1.1             fr.facebook.com
1.1.1.2             www.facebook.com
1.1.1.3              gb.facebook.com
0
 
LVL 11

Expert Comment

by:diprajbasu
ID: 33689519
i don't know whether you are using any UTM/Firewall or not...
in a firewall you can enable httpstransparentproxy and can can block the facebook.all this sites are running on HTTPS not on HTTP
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this Article is to provide information for a newly released variant of malware – with the assumption that many EE Members will have need of the information. According to “Computerworld”, well over one million web sites have been co…
I recently had to create a utility which aim is to update McAfee's Virusscan and that had to be launched from a command line. I thought I’d share my experience with you. Why is it useful to be able to update an Antivirus from the command line?…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question