In this article
A portal receiving supplier proposals or customer attachments needs more than a working upload button. Accepting one valid document does not establish that unsuitable files are rejected or retrieval is controlled. Include rejection, storage and access in feature acceptance.
Connect allowed types to business needs
The OWASP File Upload Cheat Sheet recommends allowed file types and size limits, warns against trusting Content-Type alone, and addresses user permissions and storage location. These controls complement one another; a filename extension is insufficient on its own.
Test the rejection experience
In an authorised test environment, use safe examples above the permitted size and outside the allowed types. Check that messages explain what the user can correct without exposing internal details. Avoid expanding accepted types merely to suppress complaints about rejection.
Separate receipt from approval
In a hypothetical workflow, an uploaded document requires checks before another employee can view it. Make received, processing, rejected and available states explicit where the design requires them. Showing a filename should not imply that every processing step finished.
Review retrieval permissions
Confirm that only authorised people can download attachments under the company’s policy and that a link from another request does not expose its document. Record references and check outcomes without copying sensitive contents into public logs. Acceptance requires a useful workflow with verifiable controls, rather than one successful file transfer.
