<p dir="ltr">Be warned... a web server can be configured to send an arbitrary mime type for any file. You may find .jar files with a mime type of html/text. Also zipping a jar circumvents this check. Some ICAP servers have a "true content type" check that does not rely on the headers which can be forged, but actually looks at the file that was requested.</p>
<div class="gmail_quote">On Apr 10, 2015 5:00 AM, "Yuri Voinov" <<a href="mailto:yvoinov@gmail.com">yvoinov@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA256<br>
<br>
<a href="http://wiki.squid-cache.org/ConfigExamples/BlockingMimeTypes" target="_blank">http://wiki.squid-cache.org/ConfigExamples/BlockingMimeTypes</a><br>
<br>
<br>
10.04.15 14:48, Fiorenza Meini пишет:<br>
> Hi,<br>
> is there a way to filter and block update programs which come from<br>
Internet, for example java update or windows update , withouth using the<br>
url of the web site, but working with header/mime types ?<br>
><br>
> Thanks and regards<br>
><br>
> Fiorenza Meini<br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2<br>
<br>
iQEcBAEBCAAGBQJVJ5EoAAoJENNXIZxhPexGJR4H/2z4EeMqAzLUda+uvtYwseCY<br>
xxUwFOMw6Pj5/5RYaqoLjio07RxbOsSS3Tw4NsKlbtGoBD5NZ1haKKak6dn4iGg2<br>
fd0KlkqxG7XgKAtFJhS8+Gk3lMPRENOX6gM09GmY0Ua4Q6nvtH75xvBXqNhG/wut<br>
eS8AXINbwTDi6ciWbtUXLgyeAhQwE9C++8zvTq3UPHv359H8s7HyA6CT6QFvhJtS<br>
pHEqlzbt8daU+wyiiHA9k/DUfjynjHJJgYGUtOiTHrScWFymtqnqo9sKvfR4UbFb<br>
HNi3gfRPtV2pw0igof69m8AGKrihEQqt6YUxgDtHjsogvaFZFc8MIyui64zC6Sg=<br>
=uMVo<br>
-----END PGP SIGNATURE-----<br>
<br>
_______________________________________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
<a href="http://lists.squid-cache.org/listinfo/squid-users" target="_blank">http://lists.squid-cache.org/listinfo/squid-users</a><br>
</blockquote></div>