Platform

Security Architecture

How WebFrolic is built to contain a compromise rather than assume one never happens: signed credential records, isolated cells, loud changes and honest boundaries.

The premise

We assume somebody gets in.

Every control below answers one question: when an attacker reaches something, how far do they get and how quickly does somebody find out?

Containment over prevention

Prevention fails eventually. The useful question is what a compromise reaches once it has happened, which is a design decision rather than an operational one.

Loud by default

Silent change is the expensive kind. Anything that alters how an account authenticates sends a notification, including to the address being replaced.

Stated boundaries

Every control here has a limit. Those limits are written down on this page rather than discovered during a security review.

Credential integrity

A credential store that is read is a different problem from one that is written to.

Passwordless authentication makes a stolen credential database worthless. It does nothing about a database an attacker can modify, where swapping a stored public key is a working credential and nothing notifies anyone.

Signed records

Every credential record is signed with a key tied to that record and that customer. The signature covers the binding — which credential, which user, which tenant, at which assurance level — not the key material alone.

Separated verification

Signatures live apart from the records they protect and are referenced opaquely, so restoring one credential row does not restore the proof that makes it valid.

Fail closed

Verification happens on the authentication path. A record that does not verify authenticates nobody; it does not log a warning and continue.

Encrypted where secrecy matters

TOTP secrets and password hashes are encrypted at rest. Signing addresses tampering; encryption addresses disclosure. They are different problems.

Writing a valid record requires the account holder to have authenticated at the assurance level the change demands, and the signing key is reachable only by the application, never from the database.

Blast radius

Cells decide how far a breach travels.

WebFrolic runs on a cell architecture: a single active node with a passive standby, tied to a single database.

One cell, one boundary

A compromised database reaches the tenants in that cell and no further. There is no shared store whose compromise would reach everybody.

Checkpoint versioning

The application advances a version at each checkpoint. Restoring a snapshot taken before the last checkpoint does not quietly take effect — bringing the service up against it requires a deliberate restart by an administrator.

Immutable infrastructure

Cells are independent, so patches can roll in parallel when urgency demands it, and phased by criticality when it does not.

Keys

A key in WebFrolic does one job.

Trust anchors — the public keys and certificates registered against an application — carry a declared use, and verification requires the declared use to match the operation.

No cross-purpose reuse

A key registered for wallet verification will not authenticate a client at the token endpoint. A key registered for client authentication will not verify a credential.

Customer-managed keys

A tenant can bring its own encryption and signing keys. Beyond the compliance argument, it is what makes a tenant portable between cells without an offline move.

Reachable, not extractable

The application can ask for a signature. It is not a place from which key material can be exported.

Visibility

Changing how an account authenticates is never quiet.

Password-era flows notified on every change because the industry learned, expensively, that silent changes are the dangerous ones. Passwordless credentials inherited none of that. These flows put it back.

Enrolment and removal

Adding a credential notifies. So does removing one, which matters more, because removal is an attacker’s preparation step rather than their payoff.

Contact changes notify both ways

Changing a communication method notifies the old address as well as the new one, so swapping a recovery address cannot hide the next step.

Recovery can require consent

Recovery can be configured to need explicit approval from the account holder, or to let them block it outright. The rules are set separately for administrators, employees and customers.

Rate limits modelled on behaviour

Signup and recovery are rate limited against how people actually behave, so abuse has to be expensive to be worth attempting.

Cross App Access

We are deliberately stricter than the specification permits.

The draft allows choices we think are wrong for a credential that mints access across application boundaries. Each refusal below is explained on the <a class="inline-link" href="cross-app-access.html#restrictions">Cross App Access page</a>.

Refresh tokens, not ID tokens

An ID token asserts an authentication event. It cannot be bound to a key and nothing revokes it. A refresh token forces a live check of session and user state on every issuance.

Clients must prove something

Asymmetric client authentication by default, with client secrets permitted only under explicit tenant policy and recorded as a lower assurance grant.

No accounts appearing

The subject must already exist in the tenant. A federated provider can say who somebody is; it cannot cause them to be created.

The actor survives

The requesting application is recorded as a principal of its own, not folded into the user field, so the log shows which agent acted and on whose behalf.

Limits

What this does not protect against.

A control with no stated limit is marketing. These are the boundaries.

Full application compromise

Record signing defends a database-only compromise: injection, a stolen backup, an exposed snapshot, leaked database credentials. An attacker executing inside the service can ask the service to sign, and no signing scheme changes that.

Stolen sessions

An attacker replaying a live session token never reaches authentication. That is a different problem answered by short sessions, device binding and revocation that propagates.

Compromised endpoints

Malware on a user’s machine with access to their authenticator is outside what a server-side control can reach.

A tenant’s own policy

Weak recovery rules, over-broad scopes or disabled notifications are configurable. The defaults are the safe ones; the settings are yours.

Related capabilities

Explore what connects to this.

These pages carry the detail behind the decisions above.

Bring your security review.

We would rather answer hard questions early than discover them in procurement.

Talk to us