3 ms·
how can one validate that the cached version is indeed bit equal to the one stored within ipfs?
by mpfundstein 6y ago
how can one validate that the cached version is indeed bit equal to the one stored within ipfs?
- openfuture 6y agoYou hash it, everything is content addressed.
- georgyo 6y agoThe address of the file is the hash of the file. (Really the hash of the DAG of the file) So you could validate it if you wanted to. Because the URL _is_ the hash, if you did validate it you could be very sure that it is correct. If a webserver hosts a file, how can you be sure that file is correct? Sometimes the ship a sums file next to it. At best this can find corruption, but it would not find malicious files.