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

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 ...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-01-2004
Xavier Baez
 
Posts: n/a
Default [Fwd: RE: [squid-users] How to prevent to download files]

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








--


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 11:04 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0