Think Build Implement Repeat
London, UK +44 7367 067226
WhatsApp FOLLOW f in X
  1. Home
  2. Blog
  3. Giving Customers Access Without Giving Them Your System
PHP Development

Giving Customers Access Without Giving Them Your System

Building a customer portal in PHP: fewer support contacts through self-service, starting read-only, and getting authentication and authorisation right.

Updated 2 min readBy SpiderHunts Technologies

Free estimateNo obligation

Get a free estimate

Tell us what you need. A senior engineer reads every enquiry.

Takes under a minute. We never share your details.

  • Free consultation
  • No commitment
  • NDA on request

Prefer to talk? Book a free 30-minute call →

Quick answer — TL;DR

A portal reduces support contacts by letting customers answer their own questions. Get authentication and authorisation right, and start with read-only.

Portals remove support contacts

The questions customers ask most — where is my order, what did I pay, when is my next service, can I have a copy of that invoice — are all answerable from data you already hold.

A portal answers them at any hour without anyone being involved, which is why the support volume reduction is usually the main business case.

Start read-only

  1. Phase one: customers can see their own information
  2. Phase two: they can download documents and update contact details
  3. Phase three: they can raise requests or place repeat orders
Read-only phase one delivers most of the support reduction at a fraction of the risk. Write access is a different security conversation and it can wait.

Authorisation is the whole security question

  • Every query filtered by the authenticated customer, without exception
  • Never trust an identifier from the request to determine ownership
  • Test deliberately with two accounts, trying to see each other's data
  • Audit every access to customer records

The classic portal vulnerability is a URL with a record identifier that is not checked against the logged-in user. It is trivially exploitable and depressingly common.

Authentication practicalities

Customers forget passwords and will not tolerate a difficult login. Passwordless email links, or a simple password with a reliable reset, both work better than complex requirements.

Two-factor authentication is appropriate where the data warrants it and it adds friction that reduces adoption, so weigh it deliberately.

Show the right things

ShowDo not show
Their orders and statusInternal notes about them
Their invoices and paymentsYour margin
Their service historyOther customers' anything
Their documentsInternal system identifiers
Their contact detailsStaff comments

Internal notes surfacing in a customer portal is an embarrassing and entirely avoidable incident.

FAQ

Frequently asked questions

The questions readers ask us after this guide.

Still have a question?

Ask us directly — a senior engineer will get back to you.

Ask about your project

Will customers actually use it?

If it answers their common questions faster than emailing you, yes. If it requires a difficult login for little benefit, no.

How long to build?

Six to twelve weeks for a read-only portal integrated with an existing system.

What about mobile?

Most portal use is on a phone. Design for that first rather than adapting a desktop layout.

Can it integrate with our existing system?

Usually — reading from it directly or through its API. That is the main scoping question.

Keep reading

More on PHP Development

PHP Development

Why PHP Is Still a Sensible Choice

Is PHP still a good choice for business applications? Where modern, typed PHP fits, where another language is better, and the hosting and hiring arguments.

PHP Development

Improving Old Code Without a Rewrite

Modernising a legacy PHP application without a rewrite: move to a supported PHP version, add tests around what matters, then strangle rather than replace.

Start here

Support answering the same account questions daily?

A read-only portal removes most of them. Tell us what customers ask and where the data lives.

  1. You tell us what you needTwo minutes on the form, or a message on WhatsApp.
  2. A senior engineer reviews itAnd comes back with questions, a realistic range and an honest view on fit.
  3. Free 30-minute scoping callWe talk through scope, options and a realistic estimate — with no obligation.
Free estimateNo obligation

Talk to someone who builds this

Send a short brief and we will come back with an honest view and a realistic range.

Takes under a minute. We never share your details.

  • Free consultation
  • No commitment
  • NDA on request

Prefer to talk? Book a free 30-minute call →