Shared Access Token
-
Hello,
We currently have Surfer setup as User Restricted Access. We'd like the ability to generate a "Shared Access Signature" or Access Token, to publish some files publicly.This would be mainly for sharing files publicly via URL, if we would want to distribute a specific file for download. So when someone gets a direct link with the token, they can download the file but not list anything else in the directory.
Example: https://files.cloudron.server/public-files/file.txt?token=api6fc346eb80d8bc3cf286d08f103f8ed2
Thank you!
-
Hello,
We currently have Surfer setup as User Restricted Access. We'd like the ability to generate a "Shared Access Signature" or Access Token, to publish some files publicly.This would be mainly for sharing files publicly via URL, if we would want to distribute a specific file for download. So when someone gets a direct link with the token, they can download the file but not list anything else in the directory.
Example: https://files.cloudron.server/public-files/file.txt?token=api6fc346eb80d8bc3cf286d08f103f8ed2
Thank you!
-
@JLX89 you can already use the regular REST api for this. Generate an access token via the user interface and then you can hand out links with them like:
https://files.cloudron.server/api/files/<filepath>?accessToken=<accesstoken> -
@JLX89 you can already use the regular REST api for this. Generate an access token via the user interface and then you can hand out links with them like:
https://files.cloudron.server/api/files/<filepath>?accessToken=<accesstoken> -
@nebulon I just sent an email to the Cloudron Support email address, it's urgent if you can take a look.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login