by clueless123 · 13y ago · 0 comments
It is more important to know "who/when/why" are people looking at your records that stoping people from accessing them all together.
About 5 years ago, I was looking to add tamper evident logging to our systems.
At the time, the state of the art was a rolling hashcode chain. Add a SHA field to each log event, which includes the delta, so that you can tell if someone altered any of the log entries.
There's now algorithms which factor for untrusted / insecure loggers. I haven't digested those papers yet.
But it's just a bandaid. Because I can still root to the OS, database. Tamper evident logging must be done at the lowest levels. (If anyone knows of such a project, please share a link.)
Our systems used to do that.
My redesign eliminated updates, did only inserts, and resolved the "truth" during the query. Greatly simplified everything.
No more "historical" table, where deltas are logged. Determining what was known when (determining liability) queries were simply date bounded. No need to "rerun the data" when a mapping or business rule changed. Etc.