Skip to content

S3 / presigned upload security

Direct-to-S3 flows move the upload off your app server, but they do not remove the need for an upload-security decision.

If you want the longer Node.js walkthrough for this storage boundary, read Scan Files Before S3 Upload in Node.js.

Send the client to a quarantine bucket or prefix first, then promote only after a clean scan.

  • You keep the large-file benefits of presigned uploads.
  • You avoid exposing unreviewed objects through your live storage path.
  • You can reuse the same Pompelmi policies in a worker or review service.