简体   繁体   中英

Accessing aws s3 private bucket content

How to create signed url to show aws s3 private content using php?

Thanks

From the PHP documentation for Amazon S3 Pre-Signed URL :

You can authenticate certain types of requests by passing the required information as query-string parameters instead of using the Authorization HTTP header. This is useful for enabling direct third-party browser access to your private Amazon S3 data, without proxying the request. The idea is to construct a "pre-signed" request and encode it as a URL that an end-user's browser can retrieve. Additionally, you can limit a pre-signed request by specifying an expiration time.

Basically, you can programatically generate a URL that permits time-limited access to an Amazon S3 object.

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