1 Answer
- Newest
- Most votes
- Most comments
0
Hello Edward,
I found the following medium-blog-post (so credits to the author): https://stephenkeable.medium.com/block-direct-access-to-cloudfront-net-urls-when-using-an-alternate-domain-d4d44a357233
Seems like you can do it simply by blocking access to the cloudfront domain if the hostheader does not match the alternate domain name(s) with a WAF-rule.
answered 2 years ago
Relevant content
- asked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 4 months ago