简体   繁体   中英

How to get the url of an object in a private bucket s3 amazon(not presigned)

What I need is a url that can access the private bucket's file without having it changed to public access. I understand that there is the direct url format but it is only limited to public access buckets. I also know that there is the presigned URL but it will only be available within a time limit. so to iterate the question, is there a way to get a url for a private bucket without having the time limit.

Please leave a message if I'm being unclear anywhere thank you!

Yes, you can set bucket policies and only make certain files of the bucket publicly available. see here in documentation

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM