This is a discussion on [Fwd: RE: [squid-users] How to prevent to download files] within the Squid Users forums, part of the Web Server and Related Forums category; Will this work for a Squid process that runs as an http accelerator with proxy on? I want to limit ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 -- |