It's a good idea to always validate uploaded files first with standard, non-concrete5-specific validation. trait which provides a convenient method to validate incoming HTTP request with a variety of powerful validation rules. When the database reads the block from disk later, it recomputes the checksum and compares it to the stored value. If the values do not match, then the block is corrupt.
|