Use case

File upload security: quarantine first, inspect second, release last.

An upload endpoint should not treat “received” as “safe to use.” QINGJIAN separates ingestion, inspection and business release into traceable states so malicious attachments are stopped before they enter production storage.

The gaps commonly missed in upload pipelines

Extensions and MIME types do not establish whether content is safe. Writing directly to production storage turns scan latency into exposure time. A dependable design needs quarantine, hashes, asynchronous tasks, timeout policies and an explicit release state.

Quarantine

New uploads land in storage that is not publicly retrievable.

Content evidence

Size, type, hashes and engine findings matter more than the filename.

Decoupled state

The upload returns a task ID; queries or webhooks deliver the decision.

Failure handling

Infected, corrupt, encrypted, timed-out and unscannable files have explicit outcomes.

Every step from ingestion to action has an explicit state.

Inspection becomes an observable, retryable and auditable task chain instead of an invisible command.

01

Receive

Accept the file and create a task ID.

02

Hold

Record SHA-256 and keep the object in quarantine.

03

Inspect

Run selected engines and collect asynchronous signals.

04

Release

Move to production storage only when policy permits.

Common integration points

Upload security is more than running one antivirus command. The design must protect quarantine storage, restrict read access, limit archive and large-file resource use, and define what happens when a file cannot be scanned.

Customer portals

Contracts, identity documents and support attachments.

Content platforms

Images, documents, archives and bulk imports.

Mail and collaboration

Attachment ingestion, shared links and automated archives.

Open APIs

Files submitted by partners and third-party systems.

DESIGN BOUNDARY

Upload security is more than running one antivirus command. The design must protect quarantine storage, restrict read access, limit archive and large-file resource use, and define what happens when a file cannot be scanned.

Frequently asked questions

Should scanning be synchronous or asynchronous?

Small files may wait synchronously; large files and multi-engine tasks are better handled asynchronously. QINGJIAN supports both through one task model.

Can users download before scanning completes?

They should not. Keep files quarantined until a release decision is available.

Can duplicate files reuse a result?

A hash-based result can be reused within policy, while accounting for engine versions, signature age and file origin.

Tell us how files move through your environment.

Share your storage model, daily volume, existing security products and workflow. We can start with a focused assessment.

teemo.dcx@gmail.com
Send email