Skip to content
All guides

Client portal security

Client portals: a login is not enough to protect documents

Quotes, invoices and records: the controls that help each customer access only their own data.

The short answer

A private workspace must check permission for every record and download. Hiding a link or requesting a password at the entrance is not enough.

The risk behind a reassuring interface

More websites are becoming workspaces for estimates, job progress, documents and customer conversations. That is useful, but it also creates more places where permissions need checking. A polished dashboard does not prove that customer records are isolated.

OWASP identifies broken object-level authorization as an API risk. Someone may be properly signed in yet still access a record that is not theirs. The server must check permission for the requested resource, not merely whether a session exists.

Source: OWASP — API1: Broken Object Level Authorization

Example: the right customer, the wrong quote

Fictional example: a renovation company adds a quote portal. The menu shows only the signed-in customer’s records. However, the PDF download uses a separate route that does not check document ownership. The menu looks correct; download protection is still incomplete.

You also need to define what belongs in the document. A customer export should not automatically include internal notes, internal costs or another project’s data. The final file needs its own check even when the screen appears to show the right information.

Ask for tests that demonstrate denied access

An acceptance checklist should include denied requests, not just the successful journey. OWASP recommends denying by default and checking permissions on every request. Perform these tests on your application with authorization, using an agreed environment and test accounts.

  • A signed-out visitor cannot read or download a private record.
  • Customer A cannot access customer B’s documents.
  • Revoked access does not continue through an old link.
  • Exports contain only information intended for their recipient.
  • Staff permissions match their actual responsibilities.

Source: OWASP — Authorization Cheat Sheet

What we plan within the project

At MaximeJean.com, we distinguish the public website, private workspace and file-generating functions. Our internal quoting tool has server-side controls and denied-access tests; its customer-facing data projection excludes internal costing fields. These are examples of concrete practices, not certification of every future portal.

For your business, we define roles, documents and actions before building the screens. The scope can include cross-account access tests and export review. Bring an example record and explain who should be able to view, change and download it. We can turn that into verifiable criteria in your proposal.

Sources and further reading

Sources checked . Examples and decision guides are our practical synthesis. Fictional examples do not represent client results.