how to block a website?

Asked by Ruth

blocking a website

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Abdelmonam Kouka (abdelmonam-kouka) said :
#1

Try to use a web content control (filtering) there is many software like that. Here on of these software: https://launchpad.net/webstrict

Revision history for this message
Larry Jordan (larryjor) said :
#2

   Or try adding the tool for Web of Trust (WOT).

Revision history for this message
Wim (launchpad-xs4all) said :
#3

if you do not want to install any extra software, there is a clever work around for one (or a few) website:

if you do not want the website to be shown, you couple the text to localhost;
lets say the site forbidden.com must not be shown...

in the file /etc/hosts
change the line that states
   127.0.0.1 localhost
to a line with the text
   127.0.0.1 localhost forbidden.com

after this moment every program that searches for forbidden.com will be redirected to your own Network-Interface-Card; so the message pops up:
"Error in loading website"

Be very carefull in editing this file; if you are not sure how to do that,
question it here.

Can you help with this problem?

Provide an answer of your own, or ask Ruth for more information if necessary.

To post a message you must log in.