By sumeet0587
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!
Accepted Answer
My expertise is not in database security, but I would start with this article: https://www.digitalocean.com/community/tutorials/how-to-secure-postgresql-on-an-ubuntu-vps
Hello,
I am using Ubuntu 16.04 for scraping with scrapy, storing the data in MongoDB. Today I logged in and found this hack message.
I don’t understand how could this have hapenned. I log to DO through SSH on my personal computer and my application has no other way to interact with the Internet. Any advice on how to recover the data, or how to protect from further attacks?
Thanks,
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.