[squid-users] deny uploads acl not working

robert k Wild robertkwild at gmail.com
Thu Oct 28 16:05:01 UTC 2021


hi all,

trying to deny uploads but its not working, heres my config below

#deny up MIME types
acl upmime req_mime_type "/usr/local/squid/etc/mimedeny.txt"

#allow special URL paths
acl special_url url_regex "/usr/local/squid/etc/urlspecial.txt"

#deny down MIME types
acl downmime rep_mime_type "/usr/local/squid/etc/mimedeny.txt"

http_access deny upmime
http_reply_access allow special_url
http_reply_access deny downmime

in my mimedeny.txt

application/octet-stream
application/x-msi
application/zip
application/x-7z-compressed
application/vnd.ms-cab-compressed
application/x-msdownload
application/x-iso9660-image
application/x-tar

but the deny upmime isnt working as on when i try to upload an exe on teams
website it allows me to upload it

any ideas,

thanks,
rob

-- 
Regards,

Robert K Wild.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20211028/ebc767eb/attachment.htm>


More information about the squid-users mailing list