Whitelist Cloudflare IPs allows access to all Cloudflare users?

I would like to use Cloudflare Access to add authentication to my backend service on AWS. Additional step to do is whitelist Cloudflare IPs on AWS security group to prevent access from outside. This is all fine but what prevents another Cloudflare user to point to my AWS endpoint (ie AWS load balancer) and completely circumvent settings I did in Cloudflare Access?


1 Like

This is prevented by the fact that Cloudflare never allow (except Enterprise, but it’s manually activated and verified) users to change their Host header, so if the load balancer checks for that no one can go around Access.

Thanks. I will add host based check on AWS ALB and that will prevent it… thanks again.

1 Like