<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Disabling download on Squid in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/disabling-download-on-squid/m-p/3000245#M5209</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can completely disable FTP downloads , put these files in squid.conf&lt;BR /&gt;&lt;BR /&gt;acl FTP protocol FTP &lt;BR /&gt;http_access deny FTP &lt;BR /&gt;&lt;BR /&gt;But still users will able to download files thru HTTP protocol which is given as a option  in major download sites to support multiple channel downloads and resumable downloads using tools like Download Accelerator Plus.&lt;BR /&gt;&lt;BR /&gt;In this case you have to use regex filtering capabilities of squid , of which configuration is awkward and needs thorough understanding of rules.&lt;BR /&gt;&lt;BR /&gt;Edit squid.conf&lt;BR /&gt;&lt;BR /&gt;acl exe-filter urlpath_regex -i \.exe$ &lt;BR /&gt;http_access deny exe-filter &lt;BR /&gt;&lt;BR /&gt;acl zipfiles-filter urlpath_regex -i \.zip$ &lt;BR /&gt;http_access deny zipfiles-filter &lt;BR /&gt;&lt;BR /&gt;acl msi-filter urlpath_regex -i \.msi$ &lt;BR /&gt;http_access deny msi-filter &lt;BR /&gt;&lt;BR /&gt;acl mp3-filter urlpath_regex -i \.mp3$ &lt;BR /&gt;http_access deny mp3-filter &lt;BR /&gt;&lt;BR /&gt;acl gz-filter urlpath_regex -i \.gz$ &lt;BR /&gt;http_access deny gz-filter &lt;BR /&gt;&lt;BR /&gt;acl tar-filter urlpath_regex -i \.tar$ &lt;BR /&gt;http_access deny tar-filter &lt;BR /&gt;&lt;BR /&gt;acl mpeg-filter urlpath_regex -i \.mpeg$ &lt;BR /&gt;http_access deny mpeg-filter &lt;BR /&gt;&lt;BR /&gt;Best way is to use Dansguardian open source content filtering software which will ofcourse perform blocking files operation.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.dansguardian.org" target="_blank"&gt;http://www.dansguardian.org&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;edit the /etc/dansguardian/bannedextensionlist &lt;BR /&gt;edit the /etc/dansguardian/bannedmimetypelist&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;U.SivaKumar &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 18 Jun 2003 03:54:18 GMT</pubDate>
    <dc:creator>U.SivaKumar_2</dc:creator>
    <dc:date>2003-06-18T03:54:18Z</dc:date>
    <item>
      <title>Disabling download on Squid</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disabling-download-on-squid/m-p/3000243#M5207</link>
      <description>Is it possible to disable file downloads in Squid?  I need my clients just to be able to browse but not download files from the internet.  If so can I define clients who can download and those who may cannot.</description>
      <pubDate>Wed, 18 Jun 2003 03:13:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disabling-download-on-squid/m-p/3000243#M5207</guid>
      <dc:creator>Francis Ancheta</dc:creator>
      <dc:date>2003-06-18T03:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling download on Squid</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disabling-download-on-squid/m-p/3000244#M5208</link>
      <description>Unfortunately it's not really that simple, as all 'browsing' is just downloading 'files'.&lt;BR /&gt;&lt;BR /&gt;Using access lists however you can deny users the ability given types of files (i.e. *.exe, *.zip etc. etc.).&lt;BR /&gt;&lt;BR /&gt;Have a look through the squid configuration guide, in particular, the area regarding Access Lists, and the keywords 'url_regex' or 'urlpath_regex'.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.squid-cache.org/" target="_blank"&gt;http://www.squid-cache.org/&lt;/A&gt; is your friend *nod* :)</description>
      <pubDate>Wed, 18 Jun 2003 03:32:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disabling-download-on-squid/m-p/3000244#M5208</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2003-06-18T03:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling download on Squid</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disabling-download-on-squid/m-p/3000245#M5209</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can completely disable FTP downloads , put these files in squid.conf&lt;BR /&gt;&lt;BR /&gt;acl FTP protocol FTP &lt;BR /&gt;http_access deny FTP &lt;BR /&gt;&lt;BR /&gt;But still users will able to download files thru HTTP protocol which is given as a option  in major download sites to support multiple channel downloads and resumable downloads using tools like Download Accelerator Plus.&lt;BR /&gt;&lt;BR /&gt;In this case you have to use regex filtering capabilities of squid , of which configuration is awkward and needs thorough understanding of rules.&lt;BR /&gt;&lt;BR /&gt;Edit squid.conf&lt;BR /&gt;&lt;BR /&gt;acl exe-filter urlpath_regex -i \.exe$ &lt;BR /&gt;http_access deny exe-filter &lt;BR /&gt;&lt;BR /&gt;acl zipfiles-filter urlpath_regex -i \.zip$ &lt;BR /&gt;http_access deny zipfiles-filter &lt;BR /&gt;&lt;BR /&gt;acl msi-filter urlpath_regex -i \.msi$ &lt;BR /&gt;http_access deny msi-filter &lt;BR /&gt;&lt;BR /&gt;acl mp3-filter urlpath_regex -i \.mp3$ &lt;BR /&gt;http_access deny mp3-filter &lt;BR /&gt;&lt;BR /&gt;acl gz-filter urlpath_regex -i \.gz$ &lt;BR /&gt;http_access deny gz-filter &lt;BR /&gt;&lt;BR /&gt;acl tar-filter urlpath_regex -i \.tar$ &lt;BR /&gt;http_access deny tar-filter &lt;BR /&gt;&lt;BR /&gt;acl mpeg-filter urlpath_regex -i \.mpeg$ &lt;BR /&gt;http_access deny mpeg-filter &lt;BR /&gt;&lt;BR /&gt;Best way is to use Dansguardian open source content filtering software which will ofcourse perform blocking files operation.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.dansguardian.org" target="_blank"&gt;http://www.dansguardian.org&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;edit the /etc/dansguardian/bannedextensionlist &lt;BR /&gt;edit the /etc/dansguardian/bannedmimetypelist&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;U.SivaKumar &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Jun 2003 03:54:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disabling-download-on-squid/m-p/3000245#M5209</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2003-06-18T03:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling download on Squid</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disabling-download-on-squid/m-p/3000246#M5210</link>
      <description>hi&lt;BR /&gt;&lt;BR /&gt;browsing / downloading are one and the same as long as html files are concerned. so if u want to block downloading html files, u are actually blocking browsing.&lt;BR /&gt;&lt;BR /&gt;but if you know specifically the files you want to block, like *.mp3, *.exe etc, then u can block them by specifiying an ACL.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;acl EXE urlpath_regex \.[eE][xX][eE]&lt;BR /&gt;http_access deny EXE &lt;BR /&gt;&lt;BR /&gt;and u can have different ACL's for allowing / disallowing based on authentication.&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;-balaji (google is my friend. is it urs?)</description>
      <pubDate>Wed, 18 Jun 2003 04:02:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disabling-download-on-squid/m-p/3000246#M5210</guid>
      <dc:creator>Balaji N</dc:creator>
      <dc:date>2003-06-18T04:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling download on Squid</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disabling-download-on-squid/m-p/3000247#M5211</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks for the info. based your replies I cannot do a filtering of clients.  Once I put out a rule it will be in general.&lt;BR /&gt;&lt;BR /&gt;Maybe I can put another proxy server that will cater for pc's that needs to have download enabled.</description>
      <pubDate>Wed, 18 Jun 2003 05:27:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disabling-download-on-squid/m-p/3000247#M5211</guid>
      <dc:creator>Francis Ancheta</dc:creator>
      <dc:date>2003-06-18T05:27:14Z</dc:date>
    </item>
  </channel>
</rss>

