Access application allows users access to RDS database despite not being added to allow policy.

Hello,

We’ve configured a test RDS database with Cloudflare Warp using “self-hosted private application” under Access. It’s currently set up with a dns name so it can be reached with a simple database.company.com address.

The trouble now comes when I try to set up the allow policy with my user and test it with another user who isn’t allowed - we are both able to connect to the DB. By default I believe Cloudflare blocks anyone who isn’t explicitly allowed access through a policy so not sure where it went wrong.

Could I please get some help on this? I mainly need to know if I’m setting it up wrong perhaps or there’s something else at play being overlooked.

Questions:
  1. Does Cloudflare block users by default if they aren’t specifically allowed access through a policy?
  2. If a DB is running on port 5432 - would it fall under self-hosted or infrastructure application? (I didn’t choose infrastructure because it seems to only work with SSH protocol)
Appreciate any help you can provide. 🙌
Was this page helpful?