Understanding File Integrity: Definition and Importance for Data Security

  • Thread starter Thread starter mech-eng
  • Start date Start date
  • Tags Tags
    File
AI Thread Summary
File integrity refers to the condition of a computer file where it remains unchanged from its original state, meaning no alterations, additions, or deletions have occurred. This concept is crucial for ensuring that files maintain their intended content and structure, especially when shared across different systems, such as between Linux and Windows, which handle line endings differently. Issues can arise when files are edited in different word processors or when disk errors occur, potentially leading to data loss or corruption. Modern systems often include mechanisms to detect such integrity issues, allowing users to address corrupted files. Additionally, file integrity can be verified through methods like hashing and digital signatures, which confirm that a file has not been altered and maintain its authenticity.
mech-eng
Messages
825
Reaction score
13
File integrity: State of a computer (electronic) file in which no alteration, addition, or deletion has been made, and which is exactly the way it was stored by its originator.
http://www.businessdictionary.com/definition/file-integrity.html

I would like to ask what "file integrity" is because the definition makes no sense to me. What does it mean by "no alteration, no addition" ? I can create a .txt file I can add something to it and I can alter the file but what does "file integrity" express for this situation ?

Thank you.
 
Computer science news on Phys.org
Usually it means that no one else or no other process has altered the file. The file changes only when you apply some change to it otherwise it remains as it was ie each time you read it its still the same. Imagine what would happen if you saved a file and then when you came back to read it words or letters were missing that would indicate you had a file integrity problem.

There is an interesting case with text files being transported between Linux and Windows systems where you need to add in carriage return characters because Windows files end each line of text with CRLF (carriage return/ linefeed) whereas Linux and other Unixes end each line of text with only an LF (linefeed). This is particularly problematic in source code management systems with developers working on multiple OS platforms sharing code.

Another case of integrity is when you edit a file with one word processor and then switch to another word processor sometimes things get lost or broken in the document because one or both of the programs have done something to the text.

Yet another case, is when your system has disk read write error where data is lost. Modern systems should be able to detect this and warn of a corrupted file so that you can decide what to do next.

People don't like this kind of behavior and will refrain from using multiple word processors if possible.

Analog audio and video tape would degrade slowly each time you played it back. Eventually the technology switched to using digital storage instead of analog where the hardware could now validate blocks of data using checksums and error correction.

There are also monitoring programs that may be run to verify file integrity on a system:

https://en.wikipedia.org/wiki/File_integrity_monitoring
 
  • Like
Likes stoomart
File Integrity applies to the file as it exists in a given state. So, in the OP's example, when you create a new text file and save it, that file exists in a given state and its integrity can be tracked. When you modify it, it will now exist in a new state (a new version) and will have file integrity that can be tracked.
 
Great response @jedishrfu. I would add there are two primary mechanisms used for verifying file integrity: hashes (integrity only) and digital signatures (integrity, authenticity, and non-repudiation).
 
It means that the file is guaranteed to be exactly what the original version of it was.
There is no liklyhood of it having been altered by accident or on purpose.
 
I came across a video regarding the use of AI/ML to work through complex datasets to determine complicated protein structures. It is a promising and beneficial use of AI/ML. AlphaFold - The Most Useful Thing AI Has Ever Done https://www.ebi.ac.uk/training/online/courses/alphafold/an-introductory-guide-to-its-strengths-and-limitations/what-is-alphafold/ https://en.wikipedia.org/wiki/AlphaFold https://deepmind.google/about/ Edit/update: The AlphaFold article in Nature John Jumper...
Thread 'Urgent: Physically repair - or bypass - power button on Asus laptop'
Asus Vivobook S14 flip. The power button is wrecked. Unable to turn it on AT ALL. We can get into how and why it got wrecked later, but suffice to say a kitchen knife was involved: These buttons do want to NOT come off, not like other lappies, where they can snap in and out. And they sure don't go back on. So, in the absence of a longer-term solution that might involve a replacement, is there any way I can activate the power button, like with a paperclip or wire or something? It looks...

Similar threads

Replies
15
Views
2K
Replies
35
Views
4K
Replies
38
Views
4K
Replies
69
Views
5K
Replies
2
Views
2K
Replies
11
Views
2K
Replies
20
Views
2K
Back
Top