Firefox - How to block a specific site?

Avi Greenbury avismailinglistaccount at googlemail.com
Wed Feb 3 07:55:16 UTC 2010


Sherin George wrote:

> Hello Andy,
> 
> I think you can use a firefox extension like "ad block plus" to block
> websites.
> 
> If you want to use /etc/hosts, you may add following.
> 
> ==========
> 127.0.0.1 foxnews.com
> 127.0.0.1 www.foxnews.com
> =========
> 
> This may block foxnews.com from loading.
> 

It should be noted that this will stop foxnews.com *resolving*, not
loading. If someone already has the IP address of Fox News' webserver
they can still access it on that system. 

You could block that with an iptables rule or some other form of packet
filtering, though these are succeptible to proxies. Which you can again
go some way to preventing. How far depends on how important it is to
you that your users can't get to foxnews.com


-- 
Avi Greenbury
http://aviswebsite.co.uk ;)
http://aviswebsite.co.uk/asking-questions




More information about the ubuntu-users mailing list