Faith Forge LabsCustom softwareStart with a project brief ↗

File uploads need a complete journey

An upload button creates work before and after a file reaches storage. Someone must understand what to provide, see whether it arrived, and know who can use it. Someone else must decide how the file relates to the record, whether it is ready for review, and what happens when it is replaced.

For a customer portal, “attach the document” is therefore an incomplete requirement. Begin with the decision the document supports. A revised drawing awaiting approval needs different treatment from a profile photo or a private supporting statement.

Give the file a business identity

Imagine a customer supplying a revised site plan for a service request. The plan belongs to that request and customer account. Its original filename helps the customer recognize it, but should not be the only identifier. Two uploads called plan.pdf may be different versions, and one file may have been attached to the wrong request.

Decide whether replacement supersedes the previous file, preserves a version history, or requires a new review. A reviewer who has approved revision two should not later see revision three under an unchanged “approved” label. Show the relevant version alongside the decision.

Distinguish transfer from availability

A useful interface can distinguish selecting a file, transferring it, processing it, and making it available. If processing fails, the user needs to know whether to choose another file, retry, or contact the team. Do not describe a document as accepted merely because a progress bar reached its end.

State accepted formats and useful size limits before selection. Explain a rejected file in terms the sender can act on. Retain their accompanying message when one attachment fails. If several files are allowed, show which ones succeeded rather than making the person guess whether to upload the entire set again.

Apply controls beyond the visible form

OWASP's upload guidance describes layered checks, including authorized uploaders, allowed file types, size limits and appropriate storage. A browser-supplied content type cannot establish that a file is safe. The implementation needs controls appropriate to the accepted formats and the application's risk.

Access also matters after upload. Check download links, previews, exports and background processing against the intended account and record permissions. Hiding an attachment card from another customer is not enough if its file URL remains accessible.

Rehearse replacement and interruption

Use test documents to try a rejected format, an interrupted transfer, a repeated submission, a replacement after review and access by another account. Inspect what staff see when processing remains unfinished. Agree who resolves a document attached to the wrong record and whether the original association remains in history.

Finally, include storage, retention decisions, recovery and export in the operating plan. Files that matter to a customer task should remain understandable when the application changes hands. The customer portal field guide puts these decisions in the wider account and approval journey.