[squid-users] User download syntax

From: Nick Duda <nduda@dont-contact.us>
Date: Thu, 6 Apr 2006 12:16:36 -0400

We use AD for authentication via samba/winbind. I have ACL setup to deny
downloading of file types but want to enable certain users to download.

# Define files to block from downloading
acl filedownloads urlpath_regex -i \.exe$ \.mp3$ \.mov$ \.mpg$ \.mp?$
\.avi$ \.rm$

# File Downloads
http_access deny filedownloads

I have a file located at /usr/local/squid/allowdownload that has three
lines , each line is a username and the username exists in AD

I tried doing something like the following but it did not work:

acl allowdownload src "/usr/local/squid/allowdownload"

http_access deny filedownloads !allowdownload

Any thoughts?

Nick

---------------------
Confidentiality note
The information in this email and any attachment may contain confidential and proprietary information of
VistaPrint and/or its affiliates and may be privileged or otherwise protected from disclosure. If you are
not the intended recipient, you are hereby notified that any review, reliance or distribution by others
or forwarding without express permission is strictly prohibited and may cause liability. In case you have
received this message due to an error in transmission, please notify the sender immediately and to delete
this email and any attachment from your system.
---------------------
Received on Thu Apr 06 2006 - 10:16:15 MDT

This archive was generated by hypermail pre-2.1.9 : Mon May 01 2006 - 12:00:02 MDT