want to provide login credentials when someone wants to access some documents
Create the user and add the user to respective site with consumer permissions then they can access the documents in read only mode.
or
If they access the documents for read-only mode then its better to share link to user where user no need to login.
Go through below links related to permissions/roles:
thank you kkumar
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.