04-11-2017 05:59 AM
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 access to document, for only logged users ?
Thanks in advance.
04-24-2017 05:03 AM
Thanks a lot Cesar for this tip, it works well with a rule on the folder !
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) ?
Best regards,
Benjamin
04-24-2017 06:21 AM
Hi Benjamin:
In the smart folder query you can do something like this:
This makes it to apply under the actual path when the smart folder is applied (for example in a site).
In the script you may include something like:
search.luceneSearch('+PATH:"/app:company_home/st:sites/cm:<short-site-name>/cm:documentlibrary" +ASPECT:"qshare:shared"')
Regards.
--C.
Explore our Alfresco products with the links below. Use labels to filter content by product module.