Why Authentication Alone Does Not Make an Application Secure

Sign-in establishes the identity associated with a session. The application still needs to decide whether that person can perform this action on this particular record. A salesperson may read a quotation for their company while lacking permission to approve its discount or open another company’s quote.

Build an action-by-action permission matrix

Use rows for a sales representative, a manager and a temporary support user. Use columns for reading a draft, changing a price, approving and exporting. Include the customer boundary and, where relevant, the record state. An approved quote may be locked for everyone except a designated reviewer.

Check where decisions are enforced

  • Make the decision on the server before reading or changing the record. The interface can reflect the permitted choices.
  • Deny by default when a rule or membership is missing. Cover bulk actions, attachments and queued work.
  • Save expected allowed and denied outcomes as tests. Define when revoked membership stops taking effect in existing sessions and caches.

Frequently asked questions

Does multifactor authentication solve this?

Multifactor authentication strengthens evidence of identity. Even a strongly authenticated person still needs permission for the customer record and the requested action.

Sources and further reading

Related services and guides

Discuss your AI code audit