Re: [squid-users] how to denying some files

From: <richard.fuser@dont-contact.us>
Date: Tue, 14 May 2002 15:37:56 +1000

This email is to be read subject to the disclaimer below.

Hi,

In the man pages & FAQ it explains how to use the urlpath_regex feature

This is how we have implemented it

Define your acl.

acl BADFILES urlpath_regex -i "/usr/local/etc/BADFILES"

it would point to a text file which would have the following entries of the
file types you want to block.

\.asf$
\.asx$
\.avi$
\.m3u$

hope this helps, read those man pages. :)

Regards,
Richard Fuser
Firewall & UNIX Systems Administrator

                                                                                                                                               
                    "Irfan Farid"
                    <kakaroto@tel To: squid-users@squid-cache.org
                    kom.net> cc:
                                         Subject: [squid-users] how to denying some files
                    14/05/2002
                    03:04 PM
                                                                                                                                               
                                                                                                                                               

Dear Squiders...

i'm a newbie in linux, and i have a problem.
i wish to block certain file(s) that clients download...
so that clients can not download those file(s) that i
blocked anymore..

what should i do..
in which part in 'squid.conf' that i should set...
help me please...

Thanks for listening...

--------------------
NOTICE - This communication contains information which is confidential and
the copyright of Ernst & Young or a third party.

If you are not the intended recipient of this communication please delete
and destroy all copies and telephone Ernst & Young on 1800 655 717
immediately. If you are the intended recipient of this communication you
should not copy, disclose or distribute this communication without the
authority of Ernst & Young.

Any views expressed in this Communication are those of the individual
sender, except where the sender specifically states them to be the views of
Ernst & Young.

Except as required at law, Ernst & Young does not represent, warrant and/or
guarantee that the integrity of this communication has been maintained nor
that the communication is free of errors, virus, interception or
interference.

Liability limited by the Accountants Scheme, approved under the
Professional Standards Act 1994 (NSW)
--------------------
Received on Mon May 13 2002 - 23:38:57 MDT

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