django - EC2 can't access S3 file -


i have strange error on website. keep getting django error:

attempted access 'http:/***.s3.amazonaws.com/media/banderas/cambodia-flag.png' denied.

but when access file directly admin panel, works fine. fails when main page wants access file.

any ideas can wrong?

what permissions set? if you're accessing url image whilst logged in via admin panel have full permissions view anything/delete etc.

if image url used in web site need make sure s3 object has "everyone" view/download permission set. happens if access image url without being logged in admin panel - put browser address bar?


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -