[Fwd: RE: [squid-users] How to prevent to download files]

From: Xavier Baez <tech@dont-contact.us>
Date: Sat, 01 May 2004 15:06:18 -0500

Will this work for a Squid process that runs as an http accelerator with
proxy on?

I want to limit the bandwidth rate of the users that browse my site,
when they download files such as .zip, .exe...

Has anybody accomplished this?

Regards

--------------------
S. A. Tech Department

-------- Original Message --------
Subject: RE: [squid-users] How to prevent to download files
Date: Fri, 30 Apr 2004 18:37:18 +0300
From: Tolga YAMAN <tolga.yaman@endel.com.tr>
Reply-To: <tolga.yaman@endel.com.tr>
To: Remus <rmocius@auste.elnet.lt>, <squid-users@squid-cache.org>

acl nodownloadfiles urlpath_regex -i "/etc/squid/anyfilename"
http_access deny nodownloadfiles

insert this 3 lines to your "/etc/squid/anyfilename" file

---------cut------
\.pdf$
\.doc$
\.xls$
---------cut------

Regards
Tolga

-----Original Message-----
From: Remus [mailto:rmocius@auste.elnet.lt]
Sent: Friday, April 30, 2004 5:53 PM
To: squid-users@squid-cache.org
Subject: [squid-users] How to prevent to download files

 
Hi folks,

What kind of acl rule I have to use to prevent users to download all files,
except the .pdf, .doc, and .xls?

Thanks in advance

Remus

-- 
Received on Sat May 01 2004 - 14:05:07 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Jun 01 2004 - 12:00:01 MDT