Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Juan Carlos Gutierrez on February 09, 2003, 01:46:32 AM

Title: Block access to some URL
Post by: Juan Carlos Gutierrez 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 ...!!
Title: Re: Block access to some URL
Post by: Jim Hale 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'.
Title: Re: Block access to some URL
Post by: Lars 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
Title: Re: Block access to some URL
Post by: Mark Farey 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.
Title: Re: Block access to some URL
Post by: Abe Loveless 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/