<div dir="ltr">There is a way to use an internal dns server to redirect all google searches to their safe search google. This does help with inappropriate images and searches that maybe quesionable. Just 'google' dns safesearch. You should get a few hits. Im currently doing this and it works very well.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 18, 2015 at 2:21 PM, Rafael Akchurin <span dir="ltr"><<a href="mailto:rafael.akchurin@diladele.com" target="_blank">rafael.akchurin@diladele.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hello Andres,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">N.B. Please take my answer with a huge grain of salt.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">The google images search returns image results (thumbnails) as inline base 64 encoded images in the CSS. Selectively blocking them with any URL redirector will
not work. It is possible to completely block google images but I assume this is not the way to follow for a school where a lot of pupil projects need access to the image search results.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Our current recommend the strategy for blocking explicit search results for schools are (please note you must be doing SSL decryption for this to work!):<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">- enforce Safe Search for Google. In this way proxy adds some special parameter to URL and some HTTP header to all outgoing requests to google servers asking
it to show only safe images. Unfortunately this sometime misses quite offensive images as no safe search is safe enough.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">- add keyword filtering to filter results of image search as it also contains some textual description of images and their original URLs that greatly improves
detection rate. Some possible overblocking definitely will occur.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">- add image tone detection filtering to the mix (works only for JPEGs for now and higly experimental) :(<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">In order to do that you need to integrate a content scanning server with your Squid – as possible variant consider taking a look at what we develop exactly for
this purpose (search google for qlproxy ICAP – please note it is a commercial product).
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Other choices are DansGuardian as parent proxy and SquidGuard/ufdbGuard/other redirectors.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">I hope some other members of the list can explain how to do what your require with these.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Best regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Rafael<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> squid-users [mailto:<a href="mailto:squid-users-bounces@lists.squid-cache.org" target="_blank">squid-users-bounces@lists.squid-cache.org</a>]
<b>On Behalf Of </b>Andres Granados<br>
<b>Sent:</b> Monday, May 18, 2015 7:50 PM<br>
<b>To:</b> <a href="mailto:squid-users@lists.squid-cache.org" target="_blank">squid-users@lists.squid-cache.org</a><br>
<b>Subject:</b> [squid-users] block inappropriate images of google<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">hello!<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">I need help on how to block pornographic images of google, I was trying different options and still do not succeed, try: http_reply_access with request_header_add, and even with a configuration
dns, I think is to request_header_add the best, though not it has worked for me, I hope your help, is to implement a school, thanks!<u></u><u></u></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
<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>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Dwayne Hottinger</div>
<div>Supervisor of Network Operations</div>
<div>Harrisonburg City Public Schools</div><div><a href="http://staff.harrisonburg.k12.va.us/~dhottinger" target="_blank">http://staff.harrisonburg.k12.va.us/~dhottinger</a></div><div><br></div></div></div></div></div>
</div>