----Original Message Follows----
From: "Adam Aube" <[EMAIL PROTECTED]>
To: "'squid'" <[EMAIL PROTECTED]>
Subject: RE: [squid-users] restricting download of .exe files ....
Date: Fri, 18 Jul 2003 15:57:28 -0400
MIME-Version: 1.0
Received: from squid-cache.org ([206.168.0.9]) by mc10-f26.bay6.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Fri, 18 Jul 2003 12:59:26 -0700
Received: (qmail 14403 invoked by uid 1007); 18 Jul 2003 19:57:31 -0000
Received: (qmail 14387 invoked from network); 18 Jul 2003 19:57:30 -0000
X-Message-Info: JGTYoYF78jEHjJx36Oi8+Q1OJDRSDidP
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
List-Post: <mailto:[EMAIL PROTECTED]>
List-Help: <mailto:[EMAIL PROTECTED]>
List-Unsubscribe: <mailto:[EMAIL PROTECTED]>
List-Subscribe: <mailto:[EMAIL PROTECTED]>
Delivered-To: mailing list [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
In-Reply-To: <[EMAIL PROTECTED]>
X-Spam-Status: No, hits=-3.3 required=5.0tests=IN_REP_TOversion=2.50
X-Spam-Level:
X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp)
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 18 Jul 2003 19:59:27.0023 (UTC) FILETIME=[17A5FBF0:01C34D67]


> How do I block the download of .exe files via the browser?
> I want to block .exe, zip, and other potentially executable
> files ...

yes it was, check the archive kenn its there, but here is what i use

acl denydlwds urlpath_regex -i \.mp3($|;|?) \.exe($|;|?) \.pps($|;|?) \.zip($|;|?) etcetera

http_access deny denydlwds

ummm, one hint dont try \.com($|;|?) thinking u'll block com executables files, u'll see urself blocking websites too ;)


K


Adam wrote:.............

acl progs urlpath_regex -i \.exe$
http_access deny progs

The -i makes the matching case insensitive, and the $ makes it
match at the end of the line.

This was recently asked on the list, and is also described in
the default squid.conf. Next time please check in these places
first.

Adam
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.237 / Virus Database: 115 - Release Date: 3/7/2001

_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail




Reply via email to