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.

Reply via email to