Storing private files on Amazon S3 with Django and giving authorised users temporary access (Phil Gyford’s website)
If you’re using Amazon S3 to store your website’s files, and you want some of them to be private, only accessible to certain users, and particularly if you’re using Django, here’s how.