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.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!