▲ | aphantastic 4 days ago | |||||||
Sure, but theoretically you could have a system where a distributed log of user generated content is built via this CAS//MD5 primitive. A malicious actor could craft the data such that entries are dropped. | ||||||||
▲ | revnode 3 days ago | parent [-] | |||||||
My understanding of the feature, and correct me if I'm wrong, is that you are not granted write access based on a hash. You already have write access. You can use the hash to avoid overwriting someone else's data that was appended to the file in between you checking the file and writing to it. If you already have write access, the hash is irrelevant. As a bad actor, you can corrupt the data without it. MD5 should not be used for anything security related. Granting write access based on an MD5 hash would be a huge no-no. | ||||||||
|