Feature Wiki

Information about planned and released features

Tabs

Check file uniqueness by md5sum

Samoila, Oliver [oliver.samoila], 29 January 2025: I understand the desire, but I think this is the wrong way to go. It means a lot of work and a lot of code to create something that can be undermined by the most trivial means - e.g. changes to characters, pixels, cropping, formats, ...

We try to improve uniqueness by applying of DataCollection : Revision of Uniqueness of Field Entries

1 Initial Problem

When adding a media object to a data collection and setting it to unique, the uniqueness in currenly checked by the uploaded filename being unique. This means that by simply uploading a file by changing the filename one can upload the file again. This feature would change this behaviour by checking the content of the Media Object to be unique.

2 Conceptual Summary

For each media object, a md5sum would be computed upon upload and compared to all other md5 sums for the other media object in this data collection.

3 User Interface Modifications

3.1 List of Affected Views

  • none

3.2 User Interface Details

3.3 New User Interface Concepts

3.4 Accessibility Implications

4 Technical Information

An additional database field would be needed to store the md5sum. There would be no new dependencies, etc

5 Privacy

No personal data is involved.

6 Security

No new endpoints etc.

7 Contact

8 Funding

If you are interest in funding this feature, please add your name and institution to this list.

9 Discussion

10 Implementation

{ The maintainer has to give a description of the final implementation and add screenshots if possible. }

Test Cases

Test cases completed at {date} by {user}
  • {Test case number linked to Testrail} : {test case title}

Privacy

Information in privacy.md of component: updated on {date} by {user} | no change required

Approval

Approved at {date} by {user}.

Last edited: 29. Jan 2025, 08:28, Samoila, Oliver [oliver.samoila]