3 ms·
Encryption does nothing if you can just query the decrypted data. Other than giving a false sense of security. Even if the database is encrypted, something ha
by AstralStorm 10y ago
Encryption does nothing if you can just query the decrypted data.
Other than giving a false sense of security.
Even if the database is encrypted, something has to access the decrypted data and is vulnerable to attack.
- marksomnian 10y agoIf you do the decryption in your business logic, and store the key separately (Amazon KMS for example), then if somebody hacks the database directly the data is (slightly more) secure. Agreed though. Encryption is only a stopgap and the DB should never have been public in the first place.