Integrity
When can you trust a record?
Integrity is the protection of data and systems against inappropriate alteration or destruction. A useful record should reflect the correct state of the world according to its rules. Legitimate updates are essential: integrity does not mean making every record permanent. It means that changes are appropriate and the result remains dependable.
Example: reconcile inventory
A fictional bookstore begins with 12 copies. It receives 5 and sells 3. Assume these are all the changes and every sale removes one copy. The expected count is 12 + 5 − 3 = 14. A displayed count of 140 disagrees with the transaction history. Flag the discrepancy and check the original records rather than silently rewriting the total. The mismatch is evidence of an error, not proof of an attack.
Prevent, detect and correct
Prevention: accept stock quantities only from staff whose task includes inventory changes and reject impossible values such as a negative received quantity. Detection: compare totals against independent delivery and sale records. Correction: after confirming a mistake, make an approved adjustment and retain its reason. Change history is useful when it is protected and records who changed what and when. A valid-looking number can still be wrong.
Integrity is not authenticity alone
Authenticity concerns whether a source is genuine. A genuine staff message can still contain an incorrect number. A record that was not changed after creation might already have been wrong at creation. Protecting integrity therefore requires both appropriate change controls and checks of the underlying information. Keep enough evidence to explain a correction without exposing unnecessary private information.
Practice: investigate a mismatch
An imaginary library begins with 20 available books, lends 4 and receives 2 returns. Assume no other changes. Its screen shows 19 available. Compute the expected value, describe the discrepancy, and name an independent record to check before correcting it. Explain why you cannot infer the cause from the mismatch alone.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Integrity — Knowledge check
Apply the lesson concepts to fictional situations.
Opening stock is 10, receipts are 4, and sales are 2. What is the expected count with no other changes?
An inventory total disagrees with independent sales records. What should you conclude first?
Which change can be consistent with integrity?
Which action helps detect a wrong stock total?
A genuine staff message has an incorrect quantity. Which statement is accurate?