Is it possible (via IAM, bucket policy, or otherwise) to force Amazon S3 to only serve content over HTTPS/SSL and deny all regular, unencrypted HTTP access?
相关问题
- How to generate 12 digit unique number in redshift
- Use awslogs with kubernetes 'natively'
- Mechanize getting “Errno::ECONNRESET: Connection r
- Can ServiceStack JsonServiceClient send a get requ
- Tomcat and SSL Client certificate
相关文章
- 请大神帮忙 post向https接口发送数据 部署到服务器为什么运行一会后就会报空指针
- ssl配置问题
- Intermittent “sslv3 alert handshake failure” under
- Right way to deploy Rails + Puma + Postgres app to
- how many objects are returned by aws s3api list-ob
- AWS S3 in rails - how to set the s3_signature_vers
- Passthrough input to output in AWS Step Functions
- I cannot locate production log files on Elastic Be
I believe this can be achieved using a bucket policy. Deny all HTTP requests to the bucket in question using the condition
aws:SecureTransport: false
.The following is not tested but it should give you an idea of how to set it up for your case.
Here you allow your incoming traffic but refuse the non SSL one. If you want to go back just remove the 2nd statement:
Don't forget to put your bucket name at
yourbucketnamehere
.Now you need to install a SSL certificate. All the information can be found here.