Restricting access to CloudFront by IP

后端 未结 2 1139
情话喂你
情话喂你 2020-12-30 22:11

I want to restrict bucket access to certain IPs. I know how to create a bucket policy from Restricting Access to Specific IP Addresses.

My question: Can this work wi

2条回答
  •  时光说笑
    2020-12-30 22:18

    Web Application Firewall is your friend.

    http://docs.aws.amazon.com/waf/latest/developerguide/web-acl-ip-conditions.html

    Create your rule with your IP Addresses and rest "WAF" will take care.

    You need to apply this to the required CloudFront Distribution.

    You can restrict your bucket policies to CloudFront and restrict to your required IP's through CloudFront.

提交回复
热议问题