My non-production Postgres DB got Hacked ... what are some of the good strategies to secure the Postgres DB on Ubuntu 16.04 ?

October 18, 2017 189 views
PostgreSQL Security Ubuntu 16.04

I take full responsibility for my lack of efforts for securing my server. I took no precautions to secure my Database. But still I wanted to make everyone aware that my Postgres DB on Ubuntu 16.04 was Hacked. and hacker asked 0.15 Bitcoins be deposited in his account in order to restore the DB.
Fortunately my application is still not in production and nothing Essential was lost.

But it does raise few important concerns in my mind and i want to know what kind of strategies and precautions I must take in order to protect my Postgres DB on Ubuntu 16.04 ?

So that such a thing does not happen when my app goes into production.

1 Answer
JasonLABS October 18, 2017
Accepted Answer

My expertise is not in database security, but I would start with this article:

by Justin Ellingwood
Database management systems are extremely useful for handling information from websites and applications. PostgreSQL is a popular database management system that is incredibly powerful. When using PostgreSQL, it is essential that you take proper precautions to secure your databases. This article is an introduction to security practices when using PostgreSQL
Have another answer? Share your knowledge.