spring-bootalfrescoalfresco-sharealfresco-webscripts

ALFRESCO: Access document without login


I'm trying in alfresco comu version 23.1 to access a public document existing in the guest shared folder but this document is never accessible without login, does alfresco have this possibility ? i tried to change alfresco-global.properties with adding alfresco.authentication.allowGuestLogin=true but it doesn't work. the url i'm using is this : /alfresco/api/-default-/public/alfresco/versions/1/nodes/5a613557-be26-45e5-97b2-8f59e7c944ae/content

maybe because the guest user is disabled ? i can't activate it in alfresco admin interface. the only way i can access this document is with a ticket but my goal is to make my document accessible via internet without any authentification. Can someone help please ??

I'm getting the error:

{
"error": {
    "errorKey": "framework.exception.ApiDefault",
    "statusCode": 500,
    "briefSummary": "Cannot read the array length because \"bytes\" is null",
    "stackTrace": "For security reasons the stack trace is no longer displayed, but the property is kept for previous versions",
    "descriptionURL": "https://api-explorer.alfresco.com",
    "logId": "67d71703-5f62-46d0-a212-fea2923693c7"
}

}


Solution

  • after multiple search i think that alfresco doesn't have the possibility to access a file without login, the only way is by the quickshare button