hyperhtml — 2010-10-26T13:38:07-04:00 — #1
I have been given the task of creating a database that will contain data that needs to be secure. Other than just encryption, what other things could I implement or do to protect that data?
system — 2010-10-26T13:48:15-04:00 — #2
If the data in the database will be updated by users via web forms, a must-do is validate all user inputs and sanitise user inputs with mysql_real_escape_string() (if using php) or prepared statements before passing them to any sql queries.
hyperhtml — 2010-10-26T13:50:57-04:00 — #3
Validation is definitely a must on my list, as is limiting permissions. I was curious as to more of features or things I can implement to keep people out of the database that don't belong.
doug_g — 2010-10-27T01:55:01-04:00 — #4
Here's some of my thoughts:
Make sure the server is physically secure.
Spend plenty of time working on restricting access to the database to only allowed programs or hosts.
Spend more time working on the granular authentication scheme you'll use to restrict user access to the data.
Consider who has access to any database backups.
How is data that's presented to users secured after it's viewed? Think about what and where any data gets cached.
I'm sure there's lots more.