How to generate signed URLs for Amazon S3 exposed by CloudFront using.NET
The thing I want to achieve is to generate a singedURL pointing CloudFront distribution which originates from S3 bucket. I have managed to sign the URL which points directly to the S3 bucket as described in following AWS spec - Generate a Presigned Object URL Using AWS SDK for .NET and it worked fine. But what I really need is to generate signed CloudFront URL. I assume my Distribution is properly configured as I'm able to access it using ( https://d298o8yem5c56d.cloudfront.net/123.pdf ) assuming Restrict Viewer Access: is set to No in Behaviors settings. After switching it to Yes it can no