通过URL的Amazon S3 Access图像 [英] Amazon S3 Access image by url

查看:151
本文介绍了通过URL的Amazon S3 Access图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将图像上传到Amazon S3存储.但是,如何通过url访问此图像?我已经公开了该文件夹和文件,但是如果尝试通过URL https访问它,仍然会出现AccessDenied错误. ://s3.amazonaws.com/bucket/path/image.png

I have uploaded an image to Amazon S3 storage. But how can I access this image by url? I have made the folder and file public but still get AccessDenied error if try to access it by url https://s3.amazonaws.com/bucket/path/image.png

推荐答案

这是一个较旧的问题,但是对于遇到此问题的任何人,只要将文件公开,我都可以使用https://mybucket.s3.amazonaws.com/myfolder/afile.jpg

This is an older question, but for anybody who comes across this question, once I made the file public I was able to access my image as https://mybucket.s3.amazonaws.com/myfolder/afile.jpg

这篇关于通过URL的Amazon S3 Access图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆