2 回答
- 最新
- 投票最多
- 评论最多
0
This blog post walks through an authenticated S3 Uploader which you could modify to be a downloader. Allowing external users to securely and directly upload files to Amazon S3.
Sorry, this guide seems not helpful for reference? This tutorial directly use Amplify UI for S3 upgrade right? Isn't that all authentication and everything hidden in the Upgrade UI? Could you please provide more insights?
0
This is fairly old, so has probably already been solved by the OP. But as future reference for anybody finding this post -- consider using a Lambda@Edge authorizer tied into a CloudFront distribution pointing at the s3 bucket. This will avoid using pre-signed URLs without introducing file size limits.
已回答 2 个月前
Hi, could you explain why you don't want to use pre-signed URLs?
I would like my device to perform download files from S3, but we would like another authentication method to authenticate download other than AWS cli with credentials. The device would need a presigned URL to perform download using wget or something right? But I found presigned URL is only time-limited but without authentication option. I was searching for a way to have device wget an API endpoint and provides token as part of URL, then directly perform the file download. I also tried refer to bucket policy, but the IP address is not guaranteed.