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.
Safer default
Section titled “Safer default”Send the client to a quarantine bucket or prefix first, then promote only after a clean scan.
Why this works
Section titled “Why this works”- 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.