3 ms·
Not if it's over HTTPS, since it guarantees data integrity. Corrupted network bits will cause the connection to fail. If the file is corrupted at the edge serv
by fivesigma 10y ago
Not if it's over HTTPS, since it guarantees data integrity. Corrupted network bits will cause the connection to fail.
If the file is corrupted at the edge server an SRI attribute [1] can detect it, although it's not supported on IE and Safari yet.
[1] https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity https://developer.mozilla.org/en-US/docs/Web/Security/Subres...
- m_eiman 10y agoBetter hope the file isn't corrupted while it's being written to disk (or while read, or in place, or…). IMHO, anything immutable should be identified with its SHA2+ hash.