Search squid archive

User download syntax

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux