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

posta 4 anni fa415 visualizzazioni
1 Risposta
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
con risposta 4 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande