<?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: How to restrict public access to document shared by external link ? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-restrict-public-access-to-document-shared-by-external/m-p/39941#M16753</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cesar,&lt;/P&gt;&lt;P&gt;You're true, I had troubles with SOLR which did'nt work anymore... Anyway I fixed the problem after performing a full reindex, and the search / smart folder works again ! Thanks !&lt;/P&gt;&lt;P&gt;Now, I would like to unshared all of my documents (and I have like hundreds...). Do you have an idea how can I (simply) do that ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Apr 2017 14:43:56 GMT</pubDate>
    <dc:creator>benjamindupont</dc:creator>
    <dc:date>2017-04-14T14:43:56Z</dc:date>
    <item>
      <title>How to restrict public access to document shared by external link ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-restrict-public-access-to-document-shared-by-external/m-p/39933#M16745</link>
      <description>Hi there,Currently, when I want to directly access to a document with a shared link, I don't need to be logged for accessing to the preview and download it. It's big security hole for me, because I don't want anybody can access to document if he have the link.Do you know how can I restrict the acces</description>
      <pubDate>Tue, 11 Apr 2017 09:59:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-restrict-public-access-to-document-shared-by-external/m-p/39933#M16745</guid>
      <dc:creator>benjamindupont</dc:creator>
      <dc:date>2017-04-11T09:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict public access to document shared by external link ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-restrict-public-access-to-document-shared-by-external/m-p/39934#M16746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simply do not use the shared links in this case. These will always be public - that is the whole point. Use permissions on the document itself to manage access for logged in users.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 10:15:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-restrict-public-access-to-document-shared-by-external/m-p/39934#M16746</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-04-11T10:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict public access to document shared by external link ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-restrict-public-access-to-document-shared-by-external/m-p/39935#M16747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your quick reply. Too bad that we can't manage this...&lt;/P&gt;&lt;P&gt;So, I've 2 questions : &lt;/P&gt;&lt;P&gt;- Like it's mentionned in this thread : &lt;A __default_attr="203111" __jive_macro_name="thread" _jive_internal="true" class="jive_macro_thread jive_macro link-titled" href="https://community.alfresco.com/thread/203111-shared-documents-list" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt; is there a way to know which files are shared ?&lt;/P&gt;&lt;P&gt;- In the user's rights, can we manage the right to have or not the shared button ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 12:36:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-restrict-public-access-to-document-shared-by-external/m-p/39935#M16747</guid>
      <dc:creator>benjamindupont</dc:creator>
      <dc:date>2017-04-11T12:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict public access to document shared by external link ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-restrict-public-access-to-document-shared-by-external/m-p/39936#M16748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;As an administrator / power user you can certainly perform a query for shared documents. They should all have a very specific aspect applied (don't know the name right now).&lt;/P&gt;&lt;P&gt;There are no default permissions regarding public sharing links that can be assigned to / revoked from users to limit this functionality. If a user can see the document they can share it. Typically, in most of the Alfresco projects I have worked in we completely remove these social features from the document library.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 13:05:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-restrict-public-access-to-document-shared-by-external/m-p/39936#M16748</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-04-11T13:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict public access to document shared by external link ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-restrict-public-access-to-document-shared-by-external/m-p/39937#M16749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, thanks for your replies !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 13:44:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-restrict-public-access-to-document-shared-by-external/m-p/39937#M16749</guid>
      <dc:creator>benjamindupont</dc:creator>
      <dc:date>2017-04-11T13:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict public access to document shared by external link ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-restrict-public-access-to-document-shared-by-external/m-p/39938#M16750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Benjamin:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To know which files are shared you can type in Alfresco search --&amp;gt; ASPECT:'qshare:shared'&lt;/P&gt;&lt;P&gt;You can use&amp;nbsp;this search for example with the help of a smart folder:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.zylk.net/en/web-2-0/blog/-/blogs/virtual-folders-for-dealing-with-public-documents-in-alfresco-5-1" title="http://www.zylk.net/en/web-2-0/blog/-/blogs/virtual-folders-for-dealing-with-public-documents-in-alfresco-5-1" rel="nofollow noopener noreferrer"&gt;How to manage public content in Alfresco with the help of virtual folders - Virtual Folders for dealing with&amp;nbsp;public&amp;nbsp;docu…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 18:41:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-restrict-public-access-to-document-shared-by-external/m-p/39938#M16750</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2017-04-11T18:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict public access to document shared by external link ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-restrict-public-access-to-document-shared-by-external/m-p/39939#M16751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cesar,&lt;/P&gt;&lt;P&gt;Thanks for your reply. I try to search with the alfresco share search bar but it doesn't return anything... And I try with the smart folder but there is the same result... Do you have an idea why I don't have any result ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2017 10:23:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-restrict-public-access-to-document-shared-by-external/m-p/39939#M16751</guid>
      <dc:creator>benjamindupont</dc:creator>
      <dc:date>2017-04-12T10:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict public access to document shared by external link ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-restrict-public-access-to-document-shared-by-external/m-p/39940#M16752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It should give results, if you have content with public urls (shared). The smart folder&amp;nbsp;does&amp;nbsp;similar search queries. If you can not find anything maybe you have problems with your indices...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2017 19:01:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-restrict-public-access-to-document-shared-by-external/m-p/39940#M16752</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2017-04-13T19:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict public access to document shared by external link ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-restrict-public-access-to-document-shared-by-external/m-p/39941#M16753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cesar,&lt;/P&gt;&lt;P&gt;You're true, I had troubles with SOLR which did'nt work anymore... Anyway I fixed the problem after performing a full reindex, and the search / smart folder works again ! Thanks !&lt;/P&gt;&lt;P&gt;Now, I would like to unshared all of my documents (and I have like hundreds...). Do you have an idea how can I (simply) do that ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Apr 2017 14:43:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-restrict-public-access-to-document-shared-by-external/m-p/39941#M16753</guid>
      <dc:creator>benjamindupont</dc:creator>
      <dc:date>2017-04-14T14:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict public access to document shared by external link ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-restrict-public-access-to-document-shared-by-external/m-p/39942#M16754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Benjamin:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have the Javascript Console installed in your Alfresco server you may&amp;nbsp;run&amp;nbsp;something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;var nodes = search.luceneSearch('ASPECT:"qshare:shared"');&lt;/P&gt;&lt;P&gt;var count = 0;&lt;/P&gt;&lt;P&gt;for each(var node in nodes) {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;count = count + 1;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;logger.warn(count + ": "+node.displayPath+"/"+node.name);&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;logger.warn("This public url is expired --&amp;gt; "+node.properties["cm:to"]);&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;node.removeAspect("qshare:shared");&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;node.save();&lt;BR /&gt;}&lt;BR /&gt;logger.warn("Done.");&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will work if you have &amp;lt; 10k nodes. If you have more than 10k, you may&amp;nbsp;run it the number of times that you need.&lt;/P&gt;&lt;P&gt;If you don't have JS Console, you can run it with the help of a dummy rule, or via Alfresco Explorer if you are in Alfresco 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Apr 2017 15:39:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-restrict-public-access-to-document-shared-by-external/m-p/39942#M16754</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2017-04-14T15:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict public access to document shared by external link ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-restrict-public-access-to-document-shared-by-external/m-p/39943#M16755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Cesar for this tip, it works well with a rule on the folder !&lt;/P&gt;&lt;P&gt;To conclude, could you just advise me on how to reduce the scope on an precise Alfresco site, in the search with a smart folder (json) and in the rule to delete the shared link (js) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Benjamin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2017 09:03:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-restrict-public-access-to-document-shared-by-external/m-p/39943#M16755</guid>
      <dc:creator>benjamindupont</dc:creator>
      <dc:date>2017-04-24T09:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict public access to document shared by external link ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-restrict-public-access-to-document-shared-by-external/m-p/39944#M16756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Benjamin:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the smart folder query you can do something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/CesarCapillas/zk-smart-folder-templates/blob/master/qsharedFolder.json" title="https://github.com/CesarCapillas/zk-smart-folder-templates/blob/master/qsharedFolder.json" rel="nofollow noopener noreferrer"&gt;zk-smart-folder-templates/qsharedFolder.json at master · CesarCapillas/zk-smart-folder-templates · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This makes it to apply under the actual path when the smart folder is applied (for example in a site).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the script you may include something like:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #f6f6f6;"&gt;search.luceneSearch('&lt;/SPAN&gt;+PATH:"/app:company_home/st:sites/cm:&amp;lt;short-site-name&amp;gt;/cm:documentlibrary" +ASPECT:"qshare:shared"&lt;SPAN style="color: #727174; background-color: #f6f6f6;"&gt;')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2017 10:21:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-restrict-public-access-to-document-shared-by-external/m-p/39944#M16756</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2017-04-24T10:21:29Z</dc:date>
    </item>
  </channel>
</rss>

