An accountant requests a set of purchase invoices. The client sends some by email, one by WhatsApp and a revised scan two weeks later. The problem is no longer just storage; it is knowing which version is current and which request is still incomplete.
A client portal should make document requests, uploads and review status visible to both sides. Because those files may contain sensitive business and personal information, access control and file handling must be designed before the upload button.
Start with requests, not a blank folder
Give every request a purpose, client, period, due date and accepted file types. “Upload all documents” creates guesswork. “Upload purchase invoices for April” lets the client understand the task and lets staff see what is missing. Let the accountant mark a document accepted, needs a clearer scan, or replaced by a newer version.
Preserve a history rather than silently overwriting files. A later invoice scan may correct an unreadable page, but staff should know what changed. A simple request list also allows reminders to refer to specific missing items instead of sending generic follow-ups.
For firms serving multiple companies, permissions need an explicit client boundary. A staff member assigned to Client A should not reach Client B's files by changing a URL. A client employee may be allowed to upload but not view every colleague's submission. Test those boundaries with separate accounts, not only with an administrator login.
Treat every upload as untrusted
OWASP's file-upload guidance recommends an allowlist of necessary file types, size limits, generated storage names, access controls and storage outside web-served paths where possible. Do not trust a filename extension alone; inspect the actual file and scan it as appropriate to the environment.
The client-facing page should use an authenticated download path or a short-lived access link, rather than a permanent public URL. Keep a record of who uploaded and downloaded each file. Separate upload success from document acceptance: a file can reach the server but still be blurry, wrong or incomplete.
Minimise what you collect. If an accountant needs a bank statement for a defined period, the portal should not demand unrelated identity documents. Set a retention and deletion policy with the firm so old files do not accumulate indefinitely. These are operational decisions the software should enforce.
Make review a small workflow
The accountant needs an inbox of new submissions, a preview, a request-for-correction action and a final accepted state. The client needs the same status in plain language. For example, “uploaded on Tuesday, needs page two” is far more useful than “pending.”
Before launch, test a duplicate filename, a very large file, the wrong document type, a replacement upload and a client trying to open another client's URL. Also test what happens when a staff member leaves the firm and their access is removed.
If I were building a portal through adityazen, I would start with one real request cycle and its exceptions. A secure upload is necessary, but the bigger gain is a clear answer to what has arrived, what is usable and what is still owed.





