Integrity, in the context of computer systems, refers to methods of ensuring that data is real, accurate and safeguarded from unauthorized user modification.
Techopedia explains Integrity
Integrity is one of the five pillars of Information Assurance (IA). The other four are authentication, availability, confidentiality and nonrepudiation.
Data integrity maintenance is an information security requirement. Integrity is a major IA component because users must be able to trust information. Untrusted data is devoid of integrity. Stored data must remain unchanged within an information system (IS), as well as during data transport.
Events like storage erosion, error and intentional data or system damage can create data changes. For example, hackers may cause damage by infiltrating systems with malware, including Trojan horses, which overtake computer systems, as well as worms and viruses. An employee may create company damage through intentionally false data entry.
Data integrity verification measures include checksums and the use of data comparisons.