亚马逊AWS-S3拒绝访问错误亚马逊、错误、AWS

2023-09-11 09:50:52 作者:奶油小姐姐.

我想用我的Rails应用程序集成Amazon S3的服务。 我使用回形针(2.3.6)创业板和AWS-S3(0.6.2)创业板这一点。但作为用户上传文件, 这引发拒绝错误访问。 我能够把并获得该文件,如果我从铁轨控制台尝试。使用相同的凭据。

I wanted to integrate amazon s3 service with my rails application. I am using paperclip(2.3.6) gem and aws-s3(0.6.2) gem for this. but as the user uploads a file, It throws an error Access denied. I am able to put and get the file if i am trying from rails console. using the same credentials.

推荐答案

你设置了 ACL权限

http://www.bucketexplorer.com/ 是它一个很好的工具。

http://www.bucketexplorer.com/ is a good tool for it.

有在所有的操作系​​统的若干S3客户。

There are several S3 clients in all OS's.