how to block websites ..
how can i filter websites .. that mean .. blocking websites ..
i don't want users to enter illegal sites .. i'm using Suse 9.0 pro |
/etc/hosts file would do the job.
linux will *first* check this file for ip addresses of site names. so add those site names in that file with the loopback address (one address per line) like .. 127.0.0.1 www.sitetobeblocked.com this prevents those sites from loading;) |
what's the name of the server ?
|
Quote:
the /etc/hosts file is a local file that most OSs have someplace. M$ has em, as does linux, i would guess that MAC does too. my hosts file has over 700 entries in it. does slow things down form time to time, but it keeps a lot of the junk out of my M$ systems and keeps a load of banner adds from coming up on my *nix systems. |
Thats creative!
Most people set up a squid server that all your users go through and then you block access there. You could also block access with your firewall, but you need to know the IP. Once again creative use on the host file. |
correct me if im wrong, but if you are using iptables you dont need the IP, you can use domains either partial or full URL to block em with your firewall no?
|
All times are GMT -5. The time now is 07:20 AM. |