Thread: Kvs s3
View Single Post
Old 10-23-2023, 12:20 PM  
tomash999
Confirmed User
 
Industry Role:
Join Date: Sep 2015
Posts: 88
Look into pre-signed URLs. The script should not protect the objects, but give access to x amount of time. You also don't need to set it as expired, as the expiration time is embedded in the token.

The page in the documentation is named "mc share download"
```
mc share download --expire DURATION ALIAS/PATH
```

I would rather use a different language to handle this (if there is more logic), or a bash script, to be executed from your CMS. I
tomash999 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote