<div dir="ltr"><div>found out i need to block</div><div><br></div><div>application/json</div><div><br></div><div>but if i do that it blocks teams aswell as thats a json, maybe i will try this</div><div><br></div><div>request body max size</div><div><br></div><div>but theres another one i can use called <br></div><div><br></div><div>request header max size</div><div><br></div><div>whats the best one to use?<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 28 Oct 2021 at 17:05, robert k Wild <<a href="mailto:robertkwild@gmail.com">robertkwild@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>hi all,</div><div><br></div><div>trying to deny uploads but its not working, heres my config below<br></div><div><br></div><div>#deny up MIME types<br>acl upmime req_mime_type "/usr/local/squid/etc/mimedeny.txt"<br><br>#allow special URL paths<br>acl special_url url_regex "/usr/local/squid/etc/urlspecial.txt"<br><br>#deny down MIME types<br>acl downmime rep_mime_type "/usr/local/squid/etc/mimedeny.txt"<br><br>http_access deny upmime<br>http_reply_access allow special_url<br>http_reply_access deny downmime</div><div><br></div><div>in my mimedeny.txt</div><div><br></div><div>application/octet-stream<br>application/x-msi<br>application/zip<br>application/x-7z-compressed<br>application/vnd.ms-cab-compressed<br>application/x-msdownload<br>application/x-iso9660-image<br>application/x-tar</div><div><br></div><div>but the deny upmime isnt working as on when i try to upload an exe on teams website it allows me to upload it</div><div><br></div><div>any ideas,</div><div><br></div><div>thanks,</div><div>rob<br></div><div><br>-- <br><div dir="ltr"><div dir="ltr">Regards, <br><br>Robert K Wild.<br></div></div></div></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Regards, <br><br>Robert K Wild.<br></div></div>