Jaspreet Singh
Feb 23, 2017 · 1 min read

What about database in a local environment?

Don’t keep your database open to internet. Only your app should be able to access that machine. keep app sever behind firewall(AWS gives many options) and web server will be a single point of entry to your application.

P.S. I am no expert, this is what I think might improve the security.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade