djangosnippets.org: Latest snippets tagged with 'cloudfront'http://djangosnippets.org/tags/cloudfront/2010-08-27T07:17:05.388542-05:00Amazon's CloudFront streaming signed urls
2010-08-27T07:17:05.388542-05:00sayanehttp://djangosnippets.org/snippets/2175/<p>You can use this code to sign urls for streaming distributions or change it a bit and sign normal distribution's urls.
</p>
<p>Available settings:
</p>
<p>CLOUDFRONT_KEY - path to private key file
CLOUDFRONT_KEY_PAIR_ID - key pair id
CLOUDFRONT_EXPIRES_IN - expiration time in seconds
CLOUDFRONT_DOMAIN - domain name
</p>
Freely redistributable