PHP Amazon S3 access private files through URL

后端 未结 3 1347
走了就别回头了
走了就别回头了 2021-01-26 09:13

I\'m using AWS PHP sdk to save images on S3. Files are saved privately. Then, I\'m showing the image thumbnails using the S3 file url in my web application but

3条回答
  •  不知归路
    2021-01-26 09:55

    as far as i know you could try to make your S3 bucket a "web server" like this but then you would probably "Make the files public".Then if you have some kind of logic to restrict the access you could create a bucket policy

提交回复
热议问题