Understanding File Integrity: Definition and Importance for Data Security

  • Thread starter Thread starter mech-eng
  • Start date Start date
  • Tags Tags
    File
Click For Summary

Discussion Overview

The discussion revolves around the concept of "file integrity," exploring its definition, implications, and importance in data security. Participants examine various scenarios where file integrity may be compromised, including issues arising from different operating systems and file formats, as well as the role of monitoring programs.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • Some participants propose that file integrity refers to a state where no alterations, additions, or deletions have been made to a file since its creation.
  • Others argue that file integrity means the file remains unchanged unless a user intentionally modifies it, emphasizing the importance of consistency when accessing the file.
  • A participant highlights specific challenges related to file integrity when transferring text files between different operating systems, noting potential issues with line endings.
  • Another point raised discusses the risks of using multiple word processors, which may lead to data loss or corruption due to differing handling of file formats.
  • Some participants mention the degradation of analog media compared to digital storage, which can utilize checksums and error correction to maintain integrity.
  • A later reply introduces the idea of using hashes and digital signatures as mechanisms for verifying file integrity, providing additional layers of security.
  • One participant asserts that file integrity guarantees the file remains exactly as the original version, suggesting a low likelihood of accidental or intentional alteration.

Areas of Agreement / Disagreement

Participants express varying interpretations of file integrity, with no consensus reached on a singular definition or understanding. Multiple competing views remain regarding the implications and mechanisms of maintaining file integrity.

Contextual Notes

Limitations include potential misunderstandings of the term "file integrity," dependence on specific definitions, and the unresolved nature of how different systems and processes affect file integrity.

mech-eng
Messages
826
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   Reactions: 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.
 

Similar threads

  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 35 ·
2
Replies
35
Views
6K
  • · Replies 38 ·
2
Replies
38
Views
4K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 69 ·
3
Replies
69
Views
6K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K