Geo restriction in AWS CloudFront

0

Not able to restrict the user by Geo restricting them located in different locations from accessing the data thru Amazon CloudFront distribution for my Amazon S3 origin.

Tried blacklisting the countries in the created CloudFront distribution settings but not able to test it successfully. Even tried AWS WAF ACL but no success.

Please advise how I can test the Geo restriction successfully.

Thanks and regards,
Ankit Sharma
New learner

질문됨 4년 전417회 조회
1개 답변
0

There are a number of GeoLocation testing sites out there. GeoPeeker is one of them and was used here: https://youtu.be/iOPjEkmV8hI

Not sure if CloudFront GeoRestriction is based on the origin IP though. So unless they are looking at the X-Forwarded-For header it's essentially useless if user is connecting via a proxy or load balancer.

bflone
답변함 4년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠