Koozali.org: home of the SME Server

Block access to some URL

Juan Carlos Gutierrez

Block access to some URL
« on: February 09, 2003, 01:46:32 AM »
Hi everyone !
I have a e-smith 5.5 and i'm trying to block the access to some links, the objective is give authorized access to some customer.
Someone can give me a tips ..?
Thx ...!!

Jim Hale

Re: Block access to some URL
« Reply #1 on: February 09, 2003, 03:10:24 AM »
If the machines are Windows Machines, you can add entries into the HOST file such as:

127.0.0.1   www.hotmail.com
127.0.0.1   www.yahoo.com
127.0.0.1   [whatever url]

This way anytime someone tries to go to these sites, it redirects them back to their machine and ye olde 'Page Not Found'.

Lars

Re: Block access to some URL
« Reply #2 on: February 09, 2003, 03:42:53 AM »
Try the DansGuardian thing. http://www.dungog.net/sme/files/index.php download the 2 files.

// Lars

Mark Farey

Re: Block access to some URL
« Reply #3 on: February 10, 2003, 06:10:35 PM »
This is a standard feature of SQUID which is part of SME.

See http://www.squid-cache.org/Doc/FAQ/FAQ-10.html for details.

1 - Copy squid.conf to a custom template.
2 - Modify the template to add your new rule(s).
3 - Expand the template.
4 - Restart SQUID.

It is a little complicated first time through, but well worth learning if you want to exploit more of the features of SQUID.

Regards,
Mark.

Abe Loveless

Re: Block access to some URL
« Reply #4 on: February 11, 2003, 06:29:25 PM »
If you're looking for some type of Internet Content Filter to block bad sites, you could also look at squidGuard

http://tech-geeks.org/servers/sme/squidGuard/ - for SME installation

or

http://www.squidguard.org/