RE: [squid-users] restricting download of .exe files ....

From: Chijioke Kalu <kchijioke@dont-contact.us>
Date: Fri, 18 Jul 2003 14:36:03 -0700

----Original Message Follows----
From: "Adam Aube" <aaube@firstindependent.net>
To: "'squid'" <squid-users@squid-cache.org>
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 squid-users-help@squid-cache.org; run by ezmlm
Precedence: bulk
List-Post: <mailto:squid-users@squid-cache.org>
List-Help: <mailto:squid-users-help@squid-cache.org>
List-Unsubscribe: <mailto:squid-users-unsubscribe@squid-cache.org>
List-Subscribe: <mailto:squid-users-subscribe@squid-cache.org>
Delivered-To: mailing list squid-users@squid-cache.org
Message-ID: <000401c34d66$d1c1d550$647fa8c0@firstindependent.net>
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: <3F184D56.60907@thebytebusiness.com>
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: squid-users-return-32222-kchijioke=msn.com@squid-cache.org
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
Received on Fri Jul 18 2003 - 15:36:18 MDT

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