Afterglow Software

Capabilities

Tested against the attacker

Security starts with a list of who might attack and what they’d want. Each attack gets a stop, each stop gets tests, and what isn’t covered is written down too.

How to read this datasheet

Who might try, and what stops them

  1. A curious client edits links and shares them

    Every query asks whose it is.

    Most likely

  2. A client who hasn't paid wants the originals early

    The gallery's status is read on every request.

    Likely

  3. An opportunist guesses links and tries leaked passwords

    Clients have no passwords, and every door has a limit.

    Likely

  4. Someone after the studio phishes the client or the owner

    Passkeys sign only for the real site.

    Possible

  5. A former collaborator held access once

    Every session on an account can be ended at once.

    Possible

  6. A nation-state anything

    Out of scope, and the threat model says so.

    Not covered

Not yours looks like nothing

A client who edits a link to reach someone else’s gallery gets the same answer as for a gallery that doesn’t exist. Nothing confirms it’s there.

Every client query is scoped by client_id in SQL, and photos are reached through a JOIN on their gallery, so ownership is checked in the query itself. Wrong-owner and not-found responses are byte-identical. Gallery status is read from the database on each request, never from the session token.

written checks in the gallery tests
114

No script but the page’s own

Script slipped into a page through a note or a form never runs, and even if it did, it couldn’t read the sign-in cookie.

The policy denies by default, has no unsafe-inline or unsafe-eval, and runs only scripts carrying a per-request nonce of 128 bits or more, with strict-dynamic. frame-ancestors and base-uri are ’none’. User text is escaped on output and never set as HTML. The session cookie is HttpOnly, Secure, SameSite=Strict, with the __Host- prefix.

nonces drawn in one test, all different
500

Requests from elsewhere refused

A page on another site can’t make a signed-in client’s browser change anything. The request arrives without the session and from the wrong place.

Every change is checked before authentication: the Origin must match, or the Referer when Origin is absent, and with neither it’s refused. A double-submit token must match the cookie. The session cookie is SameSite=Strict, so another site’s request doesn’t carry it. Refusals are logged as denied with the reason.

checks before any change
3

Odd input turned away

Addresses and form fields built to trick the database or reach other files are refused before they get anywhere.

Queries use prepared statements with bound values only, and six injection payloads in the tests return nothing and leave the rows intact. Gallery paths reject traversal, encoded traversal and slashes, null bytes, newlines, overlong segments, malformed percent-encoding, and unknown verbs.

injection payloads in the tests
6
written checks on headers and cookies
57

The detail

Switch to Technical for what an IT team asks.

What it doesn’t stop
A client who downloads the work after paying and shares it, screenshots, a device that’s already infected, the host itself, and someone talking the owner into opening a gallery for them. The threat model says so plainly.Listed in the threat model with residual risks ranked: owner account compromise, redistribution after a legitimate download, abuse of the recovery path, and the supply chain. Dependencies are kept few and pinned.
Headers on every response
Browsers are told to use HTTPS only, not to guess file types, and not to keep signed-in pages.HSTS for two years with preload, X-Content-Type-Options nosniff, Referrer-Policy same-origin, and Cache-Control no-store with noindex on every signed-in response. Each is checked by a test.
Secrets kept apart
No secret lives in the code, and one leaking doesn’t open everything.Secrets are Workers secrets, never in the config file. Client sessions, owner sessions, and the device-binding key each use their own.
Addresses as hashes
The logs record where attempts came from without keeping anyone’s address.IP addresses are stored only as keyed hashes.

Where it runs

Atlas, a photography practice run by Afterglow’s owner, keeps this threat model and its tests in its own repository. Atlas is a separate business, not part of Afterglow Software, and not a client.

All capabilities

Revision A, November 25, 2026.