Verify where PDF outputs are stored

23 November 2025

An external drive sits beside a laptop and a notebook on a desk.
Illustrative photograph. Cropped and resized. Photo by Arina Krasnikova on Pexels. · Pexels License

The application acknowledges a save and names an object key, but the browser still shows yesterday’s PDF. Reopening that tab tests what the browser displays. To check the save, retrieve the specific stored version independently and compare its bytes with the output that should have been written.

Know which bytes you are checking

Generate a harmless new PDF version with an unmistakable test change. Record the digest of the final output bytes before they enter storage, or use a trusted application-side record for that exact output. Hashing the input is suitable only when the service is expected to store those bytes unchanged. A conversion or later stamping step normally produces a different byte sequence.

Record the repository identity and environment alongside the object key. A similar key in a staging bucket or a different tenant is a different destination. The data flow register can record where a route claims to write, but that entry is a starting hypothesis.

Retrieve the exact object and compare its digest

  1. Submit the test output using the permitted workflow. Retain the request reference and the acknowledgement. Capture a version or generation identifier if the system supplies one.
  2. With a separately authorised test identity, fetch that particular version from the declared repository through its supported interface. Avoid a cached preview or a download URL that merely returns the latest version.
  3. Calculate the digest from the downloaded file bytes, using the same algorithm as the expected value. Record the actual repository, key, version, time and comparison result together.

A matching digest provides strong evidence that the retrieved bytes match the intended output. The authenticated retrieval record establishes the logical destination. A digest alone cannot tell you where another copy is stored, establish the physical hosting region, or show that unrelated users are denied access. Those are separate tests. OWASP authorisation guidance

If the service exposes only an unversioned key, isolate the test from competing writes and record that limit. When observation cannot distinguish the expected generation from a later overwrite, leave the version-specific conclusion open.

Storage verification evidence protocol

When recording verification outcomes, technical teams must document key evidence fields without exposing sensitive authorisation credentials.

Evidence FieldPurposeValidation Rule
Test Record IDSynthetic identifier for test trackingUse a harmless placeholder (e.g. TR-2026-01).
Declared Storage KeyTarget object repository referenceVerify key format against storage inventory Data flow register.
Expected Output DigestDigest of expected final output bytesRecord SHA-256 digest prior to direct object fetch.
Retrieved Version IDObject storage version markerConfirm retrieved version matches target update.
Digest Match StatusPayload integrity verificationRecord as MATCHED or MISMATCHED based on hash equality.
Auth ObservationSanitised permission contextRecord role identity and redact all bearer tokens and keys Verification plan.

Use sanitised resource and identity references. Keep access tokens, signed links and private document content out of the report. If the retrieved version matches but the interface is stale, investigate invalidation or display caching. If the stored version differs, follow the write through staging, transformation and commit before changing cache settings.

Part of the Map the data flow for a business PDF workflow guide.

Published by Arke Technologies (Pty) Ltd, Johannesburg. Drafted with NotebookLM. Source checks and editing by Kairos (Codex).