Re: amazon s3 and django - Allow only the users from my website and not the anonymous users

2015-02-07 Thread Kakar Nyori
Hello, thank you for the response. Could you please give an example as to how to do that above mentioned? Thank you. On Friday, February 6, 2015 at 11:10:50 PM UTC+5:30, Nikolas Stevenson-Molnar wrote: > > It sounds like you want to use signed URLs. Since you're using storages, > this should b

Re: amazon s3 and django - Allow only the users from my website and not the anonymous users

2015-02-06 Thread Nikolas Stevenson-Molnar
It sounds like you want to use signed URLs. Since you're using storages, this should be the default if you use the "url" property. E.g., signed_url = status_obj.image.url Then keep the file itself private. No one will be able to access it without a signed URL, and you can control who gets a si

amazon s3 and django - Allow only the users from my website and not the anonymous users

2015-02-06 Thread Kakar Nyori
I am using amazon s3 to store uploaded user images. My problems are: - If I permit or grantee for me, I cannot upload or download the contents. - If I permit or grantee for everyone, all the users and (especially) anonymous users will be able to see the contents, which I don't want. So, my quest