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 <[EMAIL PROTECTED]>
Reply-To:       <[EMAIL PROTECTED]>
To:     Remus <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>



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:[EMAIL PROTECTED] Sent: Friday, April 30, 2004 5:53 PM To: [EMAIL PROTECTED] 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








--





Reply via email to