Generate a Amazon S3 expiring URL based on your key and secret. Prevents hotlinking to your media.
Change log:
Changes 0.6
Fixed a bug reported bu lots of user on my blog. Emile Bourquin came up with a solution.
I have tested it and it still works for me (with CNAME buckets, people who do not use CNAME buckets have had problems).
Please comment on the blog if you have any issues.
http://codepolice.net/2008/12/08/generate-expiring-urls-for-amazon-s3-via-a-wordpress-plugin/comment-page-1/#comment-933
Changes 0.5
-
Added expire option
Changes 0.4
-
Forgot some debug code that i removed now.