I’m working on logs for a customer service application. Another guy who is not a very experienced developer is working on other things, but we’re both in the same database. He has some friends that work in Customer Service. I don’t think he’d delete logs, but I want to be sure that if logs were deleted, we’d know about it.
Is it possible to get an email if a row is deleted, can I make a backup of that row in another database somewhere of the “deleted” data if it was deleted…… what are my options?
Or better yet…. what do you do?
Update
Part of the issue here is that there is no “programming” or “development” manager. The company has 25 employees – 2 of which are developers and we answer to the office manager who knows nothing about development.
For starters, don’t allow developers access to the production environment. (Nobody should have direct access to the production environment except your highly trusted system administrator.)
Next, do all data changes via stored procs with a special account, and don’t allow interactive access to the tables.
Finally, as part of the software, add an audit trail so you can see who did the deletion.