Help Center/ Relational Database Service_RDS for PostgreSQL/ FAQs/ Network Security/ How Can I Prevent Untrusted Source IP Addresses from Accessing RDS for PostgreSQL?
Updated on 2025-06-24 GMT+08:00

How Can I Prevent Untrusted Source IP Addresses from Accessing RDS for PostgreSQL?

  • If you enable public accessibility, your EIP DNS and database port may be vulnerable to hacking. To protect information such as your EIP, DNS, database port, database account, and password, you are advised to set the range of source IP addresses in the RDS for PostgreSQL security group to ensure that only trusted source IP addresses can access your DB instance.
  • To prevent your database password from being cracked, set a strong password according to the password policies of your RDS for PostgreSQL instance and periodically change it.