LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (http://www.linuxquestions.org/questions/linux-security-4/)
-   -   How to block facebook?.. (http://www.linuxquestions.org/questions/linux-security-4/how-to-block-facebook-772389/)

Winanjaya 11-30-2009 03:09 AM

How to block facebook?..
 
How to block facebook?..

I am using dansguardian and already enabled /etc/dansguardian/blacklists/socialnetworking

but my users still able to visit it..

it seems like it redirected from ..fbcdn.net

I also has added fbcdn.net into /etc/dansguardian/blacklists/socialnetworking/domains


any idea?

thanks & regards

khodam 11-30-2009 04:08 AM

are u edit /etc/hosts ?
127.0.0.1 *.facebook.com

Winanjaya 11-30-2009 06:10 AM

no, why?

khodam 11-30-2009 09:04 AM

add this line into your /etc/hosts. When user want to open facebook.com redirect to localhost. Maybe help u.


All times are GMT -5. The time now is 02:38 PM.