Re: [squid-users] newbie on squid-cache

From: Antony Stone <Antony@dont-contact.us>
Date: Wed, 13 Aug 2003 12:29:33 +0100

On Wednesday 13 August 2003 8:01 am, franklin LECOINTRE wrote:

> Hello,
> it's the first time I'm configuring squid and I have a little question
> about ACL.
> I would like to deny http_access to my users to web sites containing words
> in the url like SEX YOUNG ... everything that is not in relation with the
> work.
> I have found the way to deny http_access to some sites giving th explicit
> URL, but how can I do the deny access to URL in witch I can found some
> words ?
>
> http_access deny mygroup .SEX.
> http_access deny mygroup ?.SEX.?
> http_access deny mygroup %.SEX.%

You should be careful about trying to do this, because Squid cannot tell
where one word ends and another begins in a url. For example, do you want
to block:

www.essex.ac.uk
www.thisisessex.co.uk
www.essexcc.gov.uk
www.basex.com

Similar examples will almost certainly exist (in some language) for any other
'non-business' words you care to select. Keyword filtering without knowing
where words start and end can have undesirable consequences.

Regards,

Antony.

-- 
Wanted: telepath.   You know where to apply.
Received on Wed Aug 13 2003 - 05:29:52 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:18:51 MST