<?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 Download content api in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/download-content-api/m-p/107340#M30244</link>
    <description>&lt;P&gt;hi team&lt;/P&gt;&lt;P&gt;i have came across a requirement in my current project, where i have to disable all dowload buttons in share so that a set of users (organized via groups) can not see download link and can not download the content.&amp;nbsp;&lt;BR /&gt;I was able to hide download link and download action for the group using action evaluators.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I took help from this post and made some additional changes to handle group:&amp;nbsp;&lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-forum/how-to-disabling-preview-download-in-alfresco-5-2/m-p/10342" target="_blank" rel="noopener nofollow noreferrer"&gt;https://hub.alfresco.com/t5/alfresco-content-services-forum/how-to-disabling-preview-download-in-alfresco-5-2/m-p/10342&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Everything works fine. But during unit test i found i was able to download the content using REST "/api/node/content/{storeType}/{storeId}/{id}" api.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is there a way i can restrict the download on this API or i can disable this api and create custom download API to handle the group checks ?&lt;/P&gt;</description>
    <pubDate>Mon, 28 Oct 2019 16:53:09 GMT</pubDate>
    <dc:creator>bip1989</dc:creator>
    <dc:date>2019-10-28T16:53:09Z</dc:date>
    <item>
      <title>Download content api</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/download-content-api/m-p/107340#M30244</link>
      <description>&lt;P&gt;hi team&lt;/P&gt;&lt;P&gt;i have came across a requirement in my current project, where i have to disable all dowload buttons in share so that a set of users (organized via groups) can not see download link and can not download the content.&amp;nbsp;&lt;BR /&gt;I was able to hide download link and download action for the group using action evaluators.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I took help from this post and made some additional changes to handle group:&amp;nbsp;&lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-forum/how-to-disabling-preview-download-in-alfresco-5-2/m-p/10342" target="_blank" rel="noopener nofollow noreferrer"&gt;https://hub.alfresco.com/t5/alfresco-content-services-forum/how-to-disabling-preview-download-in-alfresco-5-2/m-p/10342&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Everything works fine. But during unit test i found i was able to download the content using REST "/api/node/content/{storeType}/{storeId}/{id}" api.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is there a way i can restrict the download on this API or i can disable this api and create custom download API to handle the group checks ?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2019 16:53:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/download-content-api/m-p/107340#M30244</guid>
      <dc:creator>bip1989</dc:creator>
      <dc:date>2019-10-28T16:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Download content api</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/download-content-api/m-p/107341#M30245</link>
      <description>&lt;P&gt;I am not aware if OOTB content download API can be customized to put the restrictions you are looking for. Someone else might provide more thoughts on this.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;However you can look at this custom webscript, it may be helpful:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-blog/downloading-content-from-alfresco-repository-via-custom-download/ba-p/288502" target="_self" rel="nofollow noopener noreferrer"&gt;https://hub.alfresco.com/t5/alfresco-content-services-blog/downloading-content-from-alfresco-repository-via-custom-download/ba-p/288502&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;This is custom content download webscript which restircts a group of users from downloding the content.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2019 21:20:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/download-content-api/m-p/107341#M30245</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2019-10-28T21:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Download content api</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/download-content-api/m-p/107342#M30246</link>
      <description>&lt;P&gt;Thanks for help, i was able to create custom download WebScript and able to control the downloads for the set of users.&lt;/P&gt;&lt;P&gt;I want to disable the OOTB download API, can someone help me or guide me if that can be done ?&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 16:03:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/download-content-api/m-p/107342#M30246</guid>
      <dc:creator>bip1989</dc:creator>
      <dc:date>2019-10-31T16:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Download content api</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/download-content-api/m-p/107343#M30247</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;You can disable / restrict this download uri in your Apache or nginx frontend.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 17:06:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/download-content-api/m-p/107343#M30247</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2019-10-31T17:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: Download content api</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/download-content-api/m-p/107344#M30248</link>
      <description>&lt;P&gt;Will give it a try. I was hoping to disable at the repository level though&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 18:44:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/download-content-api/m-p/107344#M30248</guid>
      <dc:creator>bip1989</dc:creator>
      <dc:date>2019-10-31T18:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Download content api</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/download-content-api/m-p/107345#M30249</link>
      <description>&lt;P&gt;Able to stop users from accessing the OOTB download api by blocking them at proxy layer. It is a workaround&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 13:49:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/download-content-api/m-p/107345#M30249</guid>
      <dc:creator>bip1989</dc:creator>
      <dc:date>2019-11-01T13:49:00Z</dc:date>
    </item>
  </channel>
</rss>

