Privacy and preparation
Dataset release approval gates: how to bind approval to an exact version
By SourceX Editorial · Reviewed by Noah Loul ·
9 sections
Short answer
To bind release approval to an exact dataset version, approve a digest rather than a name: freeze the candidate, list every file with its SHA-256 digest in a manifest, and have the approver sign a record naming the manifest's own digest. Every later gate, from access and transfer to receipt and close-out, recomputes that value and blocks the release when it does not match.
Provenance trail
Dataset release approval
Key takeaways
- Approvals tied to folder names, file names or dates can silently cover edited content; approvals tied to a manifest digest cannot.
- Use one gate wherever content, audience or access changes, and let each gate block on missing evidence rather than warn.
- Any byte change after approval creates a new release ID; the question is only how many gates to rerun.
- The recipient's signed receipt naming the same digest closes the loop on what actually arrived.
- Record expiry, logging and revocation in the approval record, because access limits are part of what was approved.
How do you bind release approval to an exact dataset version?
Approve a digest, not a name. The approver signs a record that names the cryptographic digest of the release manifest, and that manifest lists every file with its own SHA-256 digest. Any byte that changes after approval produces a different digest, so the approval no longer matches and the release gate stays closed.
Most release approvals bind to something weaker: a folder path, a file name like customer_tickets_final_v3, a ticket number or a date. All of those can point at different bytes tomorrow than they did when someone signed. A late fix to one row, a recompressed archive or a re-run of a de-identification job leaves the name unchanged and the content different, and nobody can later prove which content was approved.
The fix is to make the approval and the package refer to each other through a value that cannot be quietly reused. NIST's Secure Hash Standard describes hash digests as a way to detect whether a message has changed since the digest was generated. Applied to a dataset, that means the approval record carries the manifest digest, the package carries the manifest, and every later step, from transfer to receipt to deletion, checks against the same value.
Dataset release approval gates are the checkpoints where that check is enforced. A gate either finds the approved digest and the expected evidence, or it blocks the release. The rest of this guide gives the gates, the approval record that feeds them, and the cases where an approval has to be redone.
What makes a dataset version exact enough to approve?
A version is exact enough to approve when it is a frozen snapshot that cannot be edited in place, described by a manifest that lists every file, its size and its SHA-256 digest, and identified by the digest of that manifest. Anything less leaves room for the approved content and the shipped content to differ.
At a glance
What makes a dataset version exact enough to approve
Storage systems help with the frozen part. Azure Blob Storage versioning gives each version a version ID and treats previous versions as immutable, so their content and metadata cannot be modified. Amazon S3 Object Lock stores object versions in a write-once-read-many model, works only in buckets with versioning enabled, and in compliance mode prevents any user, including the root user, from overwriting or deleting a locked version during its retention period. Azure offers comparable WORM retention and legal holds for blob data.
Storage version IDs are useful pointers, but they are not a substitute for content digests. They identify an object inside one account; they do not travel with a copy to an encrypted drive or another cloud. The manifest digest does, because anyone holding the files can recompute it.
Keep the manifest boring. A plain CSV or JSON file with one row per file, sorted by path and written with fixed line endings, produces the same digest every time it is regenerated from the same files. Fancy formats that embed generation timestamps change the digest on every run and break the comparison for no reason.
- Freeze: write the release candidate to a versioned, locked location, or to a read-only snapshot your team cannot edit.
- Describe: generate a manifest with relative path, byte size, row count where it applies, and SHA-256 digest for every file.
- Identify: compute the SHA-256 digest of the manifest file itself; this single value is the release ID the approver signs.
- Attest: optionally wrap the digest in a signed statement so a recipient can check who approved it without trusting your email.
Which release approval gates should a dataset pass, and who owns each?
Use one gate for each point where the content, the audience or the access changes. The table below is a practical default for a company licensing records to an outside party; each gate names the evidence that must exist and the condition that blocks the release.
Order matters. Preparation runs before freezing so the frozen bytes are the prepared bytes, and the approval comes after freezing so the approver signs something that can no longer change. Access is issued only after the signature, and close-out happens only after the recipient confirms receipt. Teams that approve first and freeze later end up approving a candidate that was still moving.
Ownership should be explicit. A data engineer usually owns freezing and the manifest, a privacy reviewer owns the preparation evidence, the data owner and counsel own the signature, and a security engineer owns access, logging and close-out. The person who prepares the data should not be the only person who approves it.
Automate the comparison, not the judgment. A short script can recompute the manifest digest and refuse to issue a link when no signed record names it. Deciding whether the scope fits the agreement stays with people.
| Gate | What is checked | Evidence that opens it | Blocks the release when |
|---|---|---|---|
| G1 Scope approved | Records, fields, date range and licensee match the signed agreement | Agreement reference and scope schedule ID in the approval record | The candidate includes fields or periods outside the schedule |
| G2 Preparation complete | De-identification and redaction ran on this exact candidate | Job run ID, method version and output manifest digest | The job ran on an earlier candidate or the method version changed |
| G3 Version frozen | Candidate is in a locked or read-only location | Storage version IDs or snapshot ID plus lock setting | Files can still be edited or deleted by the preparing team |
| G4 Approval signed | Named approver signed the record naming the manifest digest | Signed approval record or signature bundle | The digest in the record differs from the recomputed digest |
| G5 Access issued | Only the named recipient can read, for a limited time | Grant scope, recipient identity and expiry time | Access is broader, longer or for a different recipient than approved |
| G6 Transfer logged | Each read or copy is recorded | Object-level access log or shipping chain of custody | Logging is off for the bucket, prefix or drive |
| G7 Receipt verified | Recipient recomputed digests and confirmed counts | Signed receipt naming the manifest digest | Any file digest, file count or row count differs |
| G8 Close-out | Access revoked and staging copies handled under the retention rule | Revocation time, retention or deletion record | Links still work or staging copies have no recorded owner |
What should the release version approval record include?
The record should let a stranger, years later, recompute one value and know exactly what left, who allowed it, for whom, under which terms, and how access ended. The template below is the asset of this guide; copy the field names as they are and fill one record per release. The example values are illustrative.
At a glance
What should the release version approval record include
- Keep the record outside the package and outside the folder it describes, in a system with its own history.
- Never edit a signed record; append a new record that names the earlier one.
- If the release is split across drives or links, list each part's digest in the manifest so one approval still covers the whole.
| Field | What to record | Illustrative value | Why it matters |
|---|---|---|---|
| release_id | SHA-256 digest of the manifest file | sha256 of manifest.csv, 64 hex characters | The one value every gate compares |
| manifest_location | Locked storage path and version ID of the manifest | Versioned bucket path plus storage version ID | Lets anyone fetch the exact manifest that was approved |
| parent_release_id | Digest of the release this one replaces or extends, or none | Digest of the March release | Shows lineage when a correction or refresh ships |
| scope_reference | Agreement, schedule and permitted use the release falls under | License agreement, schedule 2, model training | Ties the bytes to a contractual grant |
| preparation_evidence | De-identification job ID, method version, reviewer | Job run ID, method v4, privacy reviewer name | Proves the shipped bytes are the prepared bytes |
| counts | Files, rows per table, total bytes | 14 files, row count per table, 38 GB in total | Gives the recipient numbers to reconcile |
| approver_and_time | Name, role and UTC timestamp of each sign-off | Data owner and counsel, both with timestamps | Shows who had authority at the moment of approval |
| access_grant | Recipient identity, method, permissions, expiry | Read-only link for one recipient, 72 hours | Defines the access limit both sides will check |
| receipt | Recipient digest check result and signer | Match, signed by recipient data lead | Closes the loop on what arrived |
| close_out | Revocation time, staging copy retention or deletion evidence | Link revoked, staging copy deleted, record ID | Shows access ended as approved |
How will both parties verify access limits and the exact package received?
The sender proves access limits through the grant and its logs; the recipient proves receipt by recomputing digests and signing back the manifest digest. Neither side has to trust the other's description, because both check the same values.
On access, prefer short-lived, single-recipient grants. Amazon S3 presigned URLs signed with Signature Version 4 can be valid for at most seven days, and a URL stops working earlier if the credentials that signed it expire first. Microsoft recommends near-term expiry times for ad hoc shared access signatures, and notes that stored access policies let you revoke a service SAS without regenerating account keys. Either way, record the expiry you set in the approval record, not just the fact that a link was sent.
On logging, check the setting before you ship. AWS CloudTrail does not log data events by default, so object-level reads such as GetObject are only recorded if you turn on data event logging for that bucket or prefix. An unlogged transfer cannot later show who read what, which is why G6 blocks on missing logs rather than flagging them.
On receipt, the recipient recomputes each file digest, compares counts and returns a short signed receipt naming the manifest digest. If you used a signed attestation, the recipient can also check it: an in-toto Statement binds a set of subjects, each of which must carry a digest, and Sigstore's cosign can sign a file and produce a bundle containing the signature, certificate and proof of transparency log inclusion. These tools make the approval checkable by people who never saw your internal systems.
What changes invalidate an approval, and what can reuse it?
Any change to the bytes invalidates the approval, even a change everyone agrees is harmless, because the release ID no longer matches. What differs is how much review the new candidate needs. Use this table to decide whether to rerun every gate or only the ones the change touched.
The rule of thumb: if the change touches content, rerun from preparation; if it touches only the audience or the access route, rerun from approval or access. When in doubt, rerun more gates, because the cost of a second signature is small next to the cost of shipping records nobody approved.
| Change after approval | New digest? | Gates to rerun | Note |
|---|---|---|---|
| Fix a handful of rows | Yes | G2 to G8 | Small fixes are where unreviewed content slips in; review the diff |
| Re-run de-identification with a new method version | Yes | G1 to G8 | The privacy basis changed; treat it as a new release |
| Add a column or a new table | Yes | G1 to G8 | Check the scope schedule first; new fields often fall outside it |
| Recompress or convert file format | Yes | G3 to G8, with a link to the parent | Content may be equivalent, but the bytes are not; record the parent release ID |
| Split the same files across two drives | No, if files are unchanged | G5 to G8 | The manifest already lists each file; record which drive carries which |
| Re-issue an expired download link | No | G5 and G6 | Same bytes, new access grant; append it to the record |
| Change the recipient or add an affiliate | No | G1, G4 to G8 | Same bytes, different audience; scope and approval must cover the new party |
Worked example: a quarterly ticket export with one late correction
This example is illustrative. A software company licenses de-identified support tickets under an agreement with a quarterly delivery schedule. The data engineer freezes the Q3 candidate in a versioned bucket with a retention lock, generates a manifest of 14 files with SHA-256 digests, and records the manifest digest as the release ID. The privacy reviewer attaches the de-identification job ID and method version. The data owner and counsel each sign the approval record that names that digest.
Two days later, a support lead notices that one table still contains agent first names in a free-text column. The engineer reruns redaction on that table. The new file has a new digest, so the manifest changes and so does the release ID. The gate blocks the old approval automatically, because the access step looks up the approval by digest and finds none for the new value.
The team appends a new approval record, names the first record as its parent, explains the change, and the same two approvers sign again after looking at the diff. Access is issued as a 72-hour read-only link for the licensee's named engineer, data event logging is confirmed on the prefix, and the licensee returns a signed receipt with a matching digest. The link is revoked on receipt and the staging copy is handled under the retention rule in the agreement.
The exception: had the correction been found after delivery, the right move would not be to replace files silently. The company would ship a corrected release with its own approval, ask the licensee to replace the earlier copy under the agreement's correction or deletion terms, and record the licensee's confirmation against the earlier release ID.
Which gate failures mean stopping the release rather than patching it?
Stop when a gate cannot produce its evidence, narrow the release when only part of the candidate passes, and bring in counsel, privacy or security specialists when the question is about rights, personal data or key handling rather than mechanics. A release that ships without evidence cannot be approved retroactively in any meaningful way.
Stop if nobody can say which agreement or schedule covers the candidate, if the approver lacks authority for this licensee, or if the preparation job ran on a different candidate than the one frozen. Narrow the scope when one table fails review: ship the tables that passed under their own manifest and hold the rest for a later release with its own approval.
Request specialist review when the release contains categories of personal data the agreement did not anticipate, when the licensee asks to add affiliates or contractors, when encryption keys would be shared over the same channel as the data, or when the agreement requires deletion evidence. NIST SP 800-88 Revision 2, published as final in September 2025, frames sanitization as an organizational program and expands guidance on cryptographic erase; a security engineer should decide which method your deletion evidence will rely on.
Approval gates are general operational practice, not legal advice. Counsel should review how your agreement defines deliverables, corrections and deletion, because those terms decide what each gate must prove.
Gate G1 and G2 evidence on a SourceX deal
Gate G1 has a ready anchor in a SourceX deal: no data is delivered before the company has approved the scope and terms and signed, and afterward SourceX's use, sublicensing and distribution of the de-identified dataset stay within that agreement. Evidence for gate G2 comes from the de-identification step, which SourceX performs through approved processing routes.
Multi-terabyte releases are not hosted by SourceX; they remain in the seller's storage or ship on encrypted drives, so the manifest digest is what both sides compare to agree on what moved. A first check of fit is a short company assessment that requires no data.
Frequently asked questions
What is a dataset release approval gate?
It is a checkpoint in the release process that compares the content about to move against what was approved, usually by checking a manifest digest, and blocks the release if evidence is missing. Typical gates cover scope, preparation, freezing, sign-off, access, logging, receipt and close-out.
Why not approve a folder or a file name?
Names and paths can point at different content after approval. A digest changes whenever any byte changes, so an approval tied to a digest cannot silently cover edited files.
Is SHA-256 required, or will MD5 do?
For detecting accidental corruption, many tools still use MD5, but approval records are about trust between parties, so use a hash from NIST's Secure Hash Standard such as SHA-256. Record the algorithm next to each digest so verifiers use the same one.
Does the recipient need special software to verify a release?
No. Any standard checksum utility can recompute SHA-256 digests and compare them with the manifest. Signed attestations add a check of who approved the release and can be verified with open tools such as cosign.
What should happen to approval records after the license ends?
Keep them for as long as the agreement and your retention policy require, separate from the data. They are the evidence of what left, under which terms, and how access ended, which matters most when questions arise after the data is gone.
Sources
- NIST's Secure Hash Standard specifies SHA-256 and states that digests are used to detect whether messages have been changed since the digests were generated. Source
- Azure Blob Storage versioning gives each version a unique version ID, and previous blob versions are immutable. Source
- S3 Object Lock uses a write-once-read-many model, works only in versioned buckets, and in compliance mode no user, including the root user, can overwrite or delete a locked version. Source
- Azure immutable storage keeps blob data in a WORM state with time-based retention policies and legal holds. Source
- Amazon S3 presigned URLs signed with Signature Version 4 can be valid for up to seven days and stop working earlier if the signing credentials expire. Source
- Microsoft recommends near-term expiry for ad hoc SAS tokens and notes that stored access policies let you revoke a service SAS without regenerating account keys. Source
- AWS CloudTrail does not log data events, such as S3 GetObject reads, unless data event logging is configured. Source
- The in-toto attestation Statement binds an attestation to a set of subjects, each of which must have a digest. Source
- Sigstore cosign can sign files and blobs and write a bundle containing the signature, certificate and proof of transparency log inclusion. Source
- NIST SP 800-88 Revision 2, final in September 2025, focuses on establishing a media sanitization program and expands guidance on cryptographic erase. Source
See if your company qualifies
A short company assessment. No data uploads are needed.