BlogComparisons · November 9, 2026 · 6 min read

Contact Form 7 Attachment Storage: Amazon S3 vs Google Cloud Storage vs Azure Blob Storage vs Cloudflare R2 vs Backblaze B2

Compare private object stores for CF7 attachments by access model, lifecycle behavior and storage, request and retrieval costs.

A Contact Form 7 inquiry can outlive the temporary file that came with it. If a later review step needs the attachment, a custom integration must preserve the validated bytes before CF7 removes its temporary copy. Choose an object store by how you will restrict access, expire copies and pay for retrieval, as well as by where you already run the worker. Private storage still requires an application authorization decision whenever someone asks for a file.

A paperclipped document follows a mint path toward a locked green storage container.
Generated conceptual illustration; not a product screenshot or measured result.

Five managed stores for a private attachment workflow

Product Access path Lifecycle or cost question
Amazon S3 AWS identity for the worker and presigned URLs for temporary access. Will current expiration also leave older versions?
Google Cloud Storage Cloud IAM for the worker and signed URLs using XML API endpoints. What does soft delete retain after lifecycle deletion?
Azure Blob Storage Microsoft Entra identity and scoped shared access signatures. Do rules cover previous versions and snapshots?
Cloudflare R2 S3 API credentials or a Workers binding; presigning on the S3 endpoint. How many operations and cold reads will the workflow make?
Backblaze B2 Native or supported S3-compatible operations with scoped credentials. When do hidden versions get deleted, and what egress is included?

All five are managed services under provider terms. The comparison is about building a connector, not installing a native CF7 feature. Read the provider’s current pricing for the intended region, account and storage tier; the cost drivers below are more useful than an undated flat quote.

Amazon S3

S3 fits a worker that already uses AWS identities and SDKs. Keep the bucket private and let the application issue a short presigned URL only after it authorizes the viewer. Use an opaque key. A leaked signed URL can be used by someone who has it while it is valid, subject to its permissions and credential lifetime. Do not send the URL to analytics or use it as the persistent identifier in a lead record.

The strength is detailed control over classes, versions and lifecycle actions. The complexity is visible when you test deletion: expiration in a versioned bucket can add a delete marker while previous versions remain. Add appropriate rules for those versions and check retention or lock restrictions. The pricing guide separates storage, requests, retrieval, transfer and other features. Compare frequent review of small files with rare retrieval from a colder class, including minimum storage charges when applicable.

Google Cloud Storage

Google Cloud Storage is a practical fit if the integration already uses Google Cloud IAM and service identities. A backend can use the provider SDK for routine transfers and generate signed URLs for narrowly scoped temporary access. These URLs use XML API endpoints. Verify the exact method, endpoint and signing permissions in the environment that creates the link. Browser access should be an explicit feature of the connector, not a reason to make the bucket public.

The strength is integration with Google Cloud’s identity and bucket management. The limitation is the difference between operational deletion and final removal: lifecycle actions interact with features such as versioning, retention and soft delete. Check which generation is live, recoverable or scheduled for removal. Storage pricing depends on location, class, operations and data movement, with retrieval and minimum duration relevant for certain classes. Model the cost of retained deleted copies as well as the live attachment volume.

Azure Blob Storage

Azure Blob Storage suits teams whose workers already use Microsoft Entra identities. Prefer identity-based authorization for the worker where supported. For temporary delegated access, consult the shared access signature guide. Microsoft recommends a user delegation SAS where possible. Scope it to the operation and blob, keep its validity short and prevent full tokens from appearing in request logs.

The strength is working within an existing Azure authorization and operational model. The limitation is that lifecycle rules distinguish current blobs, previous versions and snapshots. A successful download test says little about which copies remain after the chosen retention period. The pricing page varies by redundancy, region, tier, operations and transfer. If people need a file immediately, verify the rehydration behavior of any archive tier before adopting it for active inquiries.

Cloudflare R2

R2 is a candidate when a team already runs a Worker or needs an S3-compatible endpoint and expects files to be downloaded outside the storage platform. The presigned URL guide places those URLs on the S3 API domain rather than custom domains. Check supported actions and signed headers before reusing S3 client code. If reviewers must use your application hostname, put authorization in the application or a Worker instead of treating a custom domain as an interchangeable signing endpoint.

The strength is that direct R2 egress is not billed, according to the current pricing documentation. Requests and storage still count; Infrequent Access has retrieval charges and a minimum storage duration. A workflow that creates many small objects and polls for them can be request-heavy even when it stores few bytes. Review lifecycle rules and test cleanup on the prefix the connector actually writes. Check separately for charges from any other service involved in delivery.

Backblaze B2

B2 provides native interfaces and a documented S3-compatible API. Consider it if you want a separate always-hot store and your client needs only a small subset of S3 operations. Test the intended upload, read, metadata and delete calls using restricted credentials. Compatibility with the endpoint does not imply identical bucket policy or lifecycle interfaces.

The strength is a pricing model without minimum storage duration fees for standard B2 as described on its pricing page. The current pay-as-you-go terms describe included egress up to three times average monthly storage, with separate overage and partner terms. A small, frequently downloaded corpus can exceed that allowance. B2’s lifecycle guide separates hiding a file from deleting its older or hidden versions. Check a synthetic replacement and expiration before applying rules to a real prefix.

Estimate usage with the same workload for all five services: count uploads, average retained bytes, review downloads and the volume transferred to a different network or region. Include repeated previews and checks by the worker. If the team rarely needs the attachment after intake, compare shortening its retention with moving it to a colder class. The former changes what remains available; the latter changes the economics and retrieval behavior.

Test the whole retention and access path

Read the official CF7 attachment lifecycle and plan how the worker gets a durable copy. In staging, preserve one synthetic file under an opaque key and save its checksum and size alongside the inquiry reference. Verify authorized retrieval and denied access for a different test user. Check that a signed URL expires, an interrupted upload can be cleaned up, and replacing an object does not leave copies beyond your policy. An expired URL does not delete bytes; a hidden object may still be recoverable. Report the upload state separately from the form and CRM outcomes.

Shortlist the store that fits your existing identity and logging model first. Favor S3, Google Cloud Storage or Azure Blob Storage when the worker and its access policy already live in the corresponding cloud. Evaluate R2 when direct egress economics and supported operations fit. Evaluate B2 when always-hot storage and its allowance fit the retrieval pattern. Whichever you choose, confirm the same synthetic upload, restricted read and version cleanup before changing production. See our CF7 file testing guide for the form side and Svetlik Analytics for Contact Form 7 for a separate view of submission trends.