Hi,
Thanks for posting on our forum!
1) If you want to provide a URL such that a web browser can open the file, then a pre-signed URL is definitely the best method. However, you may need to use a third-party media to call from, like Amazon S3 API. You can also do a reasearch by yourself to find some suitable media that you can call from and choose whatever options you would like to apply. Here is the link:
https://python.plainenglish.io/access-files-from-aws-s3-using-pre-signed-urls-in-python-f1b2f66bdd57
Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.
2) I am not sure if I understand your question correctly.
"maintain the credentials for all the user to open the document"
——You haven't installed credentials for all the users, how can you maintain the credentials?
Thanks for your support!
BR,
Joan
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.