How to secure database connection to App Platform?

Posted March 10, 2021 1.4k views
DigitalOcean Managed PostgreSQL DatabaseDigitalOcean App Platform

As I understand, the databases in cluster are accessible over the network from anywhere.

What’s the recommended way for securing an Database connection with App Platform application?
How to set it up so that nobody else can try to login to my database except my application that’s in App Platform?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

Hello all,

We now have this feature of Trusted sources on App Platform. Refer to below link for more insights:

Hope this helps!

Sri Charan

Hey @MihkelL,

I believe that as of the time being this is not possible but it is something that the DigitalOcean team are working on.

It looks like someone has had the same idea before and has posted it on our Product Ideas board. The best thing to do would be to head over and add your vote to it, as well as adding any additional information in the comments for exactly what you’d like to see implemented!

- Bobby.

  • No evolution since 4 months (first topic in November)… it’s a critical feature ..
    Please up priority of it .. or give us update. You start our production in April using your app platform, we need to add more secure to our database.
    Thanks a lot