Check Amazon S3 Data Integrity for Uploads and Downloads with CRC64/NVME and SHA-256 in CS Browser
CS Browser
Free Windows client for Amazon S3 and Amazon S3 compatible storage services
 
Follow

Amazon S3 Data Integrity Checking

Overview

CS Browser uses checksums to detect data corruption when you upload files to or download files from Amazon S3. A checksum is a value calculated from a file's contents. Comparing the expected checksum with a fresh one helps detect changes in the data.

Set Up Data Integrity Checking

Choose Tools, Options..

Tools menu with Options highlighted
Open CS Browser Options from the Tools menu

The CS Browser Options dialog opens. Select the Data Integrity tab:

Data Integrity tab with upload and download checking enabled and Flexible selected
SHA-256 for uploads and Flexible checking for downloads

Check Uploads

Check data integrity during file upload - Calculate a checksum when uploading a file. CS Browser stores a full-file checksum in custom object metadata for later verification. With Amazon S3, CS Browser sends a checksum with a single-request upload and sends checksums for the individual parts of a multipart upload. Amazon S3 rejects a request if the supplied checksum and the received data differ. This option is on by default.

Checksum algorithm - Choose the algorithm for new uploads. CS Browser offers CRC-32, CRC-32C, CRC-64/NVME, SHA-1, and SHA-256. The default is SHA-256. For a generic Amazon S3 compatible account, enable Use custom checksum algorithms only if your provider supports the selected algorithm through the x-amz-checksum-* headers.

Check Downloads

Check data integrity during file download - Check the downloaded size when the server reports it, and compare the file's checksum with the value the server returns. This option is off by default.

Data integrity check mode for downloaded files - Choose how CS Browser handles downloads when a usable checksum is unavailable.

  • Flexible - Complete the download without checksum verification if there is no usable checksum. This is the default mode.
  • Strict - Complete the download only if a usable checksum is available and matches the downloaded file.

A checksum mismatch or a size mismatch fails the download in either mode.

Click Save changes.

How Checksum Verification Works

CS Browser first looks for a full-file checksum in the custom x-amz-meta-checksum-<algorithm> metadata. It then looks for a supported x-amz-checksum-* header with the type FULL_OBJECT. The last fallback is an ETag that can be used as the MD5 checksum of the entire object.

In Amazon S3, a single-request upload or copy can produce an MD5 ETag for objects with SSE-S3 or without encryption. ETags from multipart transfers and from objects with SSE-KMS, DSSE-KMS, or SSE-C are unsuitable for MD5 verification. See ETags in Amazon S3.

Amazon S3 adds a full-object CRC64NVME checksum to new uploads when the client does not supply a checksum. That gives CS Browser a way to verify eligible downloads even when upload checking was off. A composite checksum is based on the parts of the original upload and cannot be compared directly with a checksum calculated over the entire downloaded file. See Amazon S3 upload checksums.

Missing Checksums

For future uploads, keep upload checking enabled so CS Browser stores a full-file checksum in the object's metadata, including for multipart uploads.

Check Existing Files

If a download reports a missing checksum, check the object's Headers tab for a metadata checksum or a FULL_OBJECT checksum from Amazon S3. Older objects and objects uploaded by another client can lack a checksum CS Browser can use. If you need to download the file without checksum verification, select Flexible.

For an audit of existing Amazon S3 objects, use S3 Batch Operations Compute checksum. Amazon S3 puts the computed values in a completion report for you to compare with reference checksums.

See Also

CS Browser 13.6.9 Freeware
Powered by Amazon Web Services and Rated by CNET Editors!
Our customers say

"CS Browser is an invaluable tool to me as a web developer to easily manage my automated site backups" -Bob Kraft, Web Developer

"Just want to show my appreciation for a wonderful product. I use CS Browser a lot, it is a great tool." -Gideon Kuijten, Pro User

"Thank You Thank You Thank You for this tool. A must have for anyone using Amazon S3!" -Brian Cummiskey, USA

Related Products
RdpGuard
protects your Windows Server from RDP Brute-force Attacks.
CS Browser is developed by Netsdk Software FZE and is not affiliated with, endorsed by, or sponsored by Amazon or AWS. Amazon S3 and Amazon S3 Glacier are trademarks of Amazon.com, Inc. or its affiliates.
Copyright © 2008-2026 Netsdk Software FZE. All rights reserved.  Terms of Use.  Privacy Policy.  Refund Policy.  Mount Amazon S3 Bucket.  RDP brute-force protection.