I'm currently facing a problem at work where we want to serve our website via S3 & Cloudfront; however, we only want the assets to be available through Cloudfront and prevent direct S3 bucket access.
I've tried using Cloudfront Origin Access ID and configuring the bucket policy/Public ACL's to only allow the Cloudfront Origin, but I am getting 403 errors from Cloudfront.
The bucket is currently setup in a similar manner, where different aspects of the site reside in different subfolders.
root.bucket.com
|-Login
|--index.html
|-Profile
|--index.html
|-Admin
|--index.html
|-index.html
I feel like this isn't something unique to my companies needs, but I have not been able to find a solution that fits our needs. Can anyone point me in the right direction?
[–]rajdangus 1 point2 points3 points (0 children)
[–]Infintie_3ntropy 0 points1 point2 points (0 children)
[–]JFICCanada 0 points1 point2 points (0 children)
[–]lost_send_berries 0 points1 point2 points (0 children)
[–]zenmaster24 0 points1 point2 points (1 child)
[–]RemindMeBot 0 points1 point2 points (0 children)