hotlink protection - Amazon s3

Hi folks,

We think to use Amazon S3 to store media files in our project.
I do not know how we can put hostlink protection of the Amazon S3.
Takes hotlink protection to files on the server easily, but how should we proceed to s3?

With any recommendation?