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

feita há 4 anos416 visualizações
1 Resposta
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
respondido há 4 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas