Home › Cybersecurity wiki › What is data integrity?

Wiki

What is data integrity?

Data integrity means that data stays complete, unaltered, and traceable over its lifetime.
It is broken when records are missing, quietly changed, or inconsistent with one another.
Protecting it is a task of its own beside confidentiality and availability.

Data Integrity Types

A distinction is drawn between the physical soundness of the media and the logical consistency of the contents.
Each can fail independently of the other.

Physical Integrity

Physical integrity concerns disks, lines, and devices that lose bits through defect, aging, or environmental stress.
Redundant copies and checks on read detect such damage before applications accept it as valid values.

Logical Integrity

Logical integrity concerns rules, relationships, and meaning, for example that a booking belongs to an account that exists.
It is lost through faulty programs, incomplete transfers, and deliberate changes to individual fields.

Data Integrity Threats

Threats come from inside and from outside and hit physical as well as logical integrity.
Looking only at attackers from outside misses operating errors and broken batch jobs.

Internal Threats

Internal threats are mishandling, hasty corrections, and misuse by people who hold legitimate rights.
They often leave changes that look valid because they run through normal tools.

External Threats

External threats are unauthorized access, malware, and faults on the transmission path that alter data along the way.
They become more visible when every change can be tied to a known source.

Data Integrity Measures

Measures divide into preventing, detecting, and correcting.
A complete approach needs all three, because not every change can be prevented.

Preventive Measures

Preventive measures limit write permissions, check inputs, and secure transfers between systems through confirmed procedures.
They reduce the number of opportunities to change data unnoticed.

Detective Measures

Detective measures compare checksums, logs, and balances to find deviations after the event.
They say that something is wrong, and they do not by themselves restore the correct state.

Corrective Measures

Corrective measures rebuild a consistent state from preserved versions or from traceable reversing entries.
They need a known good state, or the error is merely carried forward.

Conclusion

Data integrity holds when physical damage and logical contradictions are both addressed.
Prevention, detection, and correction have to point at the same body of data, or each measure stays incomplete on its own.