On Wed, 28 Jan 2004, Dan Scrimpsher wrote:

> Hi,
>
> How would you block those downloads from a range of internal IP
> addresses?

You would need to define an acl with the range of IP addresses and then use
a statement something like

        deny    regex_acl and IP_acl

But I would defer to the Duane's and Henryk's of the world as I have never
combined regex and IP based acls.  There's bound to be a gotcha.

Merton Campbell Crockett


>
> >>> Merton Campbell Crockett <[EMAIL PROTECTED]> 1/26/2004 7:59:06 PM
> >>>
> On Tue, 27 Jan 2004, Liew Toh Seng wrote:
>
> > Hi,
> > how i'm going to block my users to download exe/zip/others files.
>
>
> Use a urlpath_regex acl.
>
>       acl <name> urlpath_regex \.exe$
>
> Look at the documentation in squid.conf.default.

-- 
BEGIN:                          vcard
VERSION:                        3.0
FN:                             Merton Campbell Crockett
ORG:                            General Dynamics Advanced Information Systems;
                                Intelligence and Exploitation Systems
N:                              Crockett;Merton;Campbell
EMAIL;TYPE=internet:            [EMAIL PROTECTED]
TEL;TYPE=work,voice,msg,pref:   +1(805)497-5045
TEL;TYPE=fax,work:              +1(805)497-5050
TEL;TYPE=cell,voice,msg:        +1(805)377-6762
END:                            vcard

Reply via email to