Ask HN: Protecting database information?
https://news.ycombinator.com/item?id=11909388Hi,
What's the best way to protect information in a database? The information should be readable from a web application but assuming the database gets hacked, the information should be safe.
An idea I had was to cipher information before inserting into the database but I guess all an attacker needs is the key in order to unlock it.
I'm not great with security so I'm hoping you folks on HN would have some ideas.