Loading FormAck
Skip to content

← All posts

x marks the inbox

A treasure map of the four rooms

Every message sent through a form I guard makes the same journey. It starts at a Send button and ends in your inbox, and in between it crosses four rooms. Bots have tried every shortcut on this map. None of them are marked, because none of them work.

Unfold the map. Keep it the right way up. Follow the dotted line.

The legend

room I

The door

Who may knock, and how often.

room II

Prove you're human

Three ways to show you're a person.

room III

Read the message

What the words themselves say.

room IV

Guard the replies

Keeping the thank-you honest.

The route

waypoint 1 · room I

The door

The path begins at a wooden door with two guards.

The origin allowlist stands on the left. Browsers can only submit from domains the site owner registered. A copy of your form on someone else's website gets turned away here, however good the copy is.

The rate limits stand on the right. They count knocks per IP address and per site. They're roomy enough for real people. A script hammering the door ten thousand times is told to come back later.

waypoint 2 · room II

Prove you're human

The path climbs through three gates. You need to pass all three.

The single-use ticket. Every visitor's browser is handed a fresh ticket when the page loads, tied to that browser. Each ticket works exactly once. Saved requests replayed later carry a ticket that has already been used.

The captcha. Turnstile or reCAPTCHA, verified on my side with the site owner's secret and hostname. A pass made for somebody else's website doesn't work here.

The honeypot. A field nobody can see. People walk past it. Bots, which fill in every field they find, step straight in.

Here be bots

The sea around Room II is where most bots sink. They can copy the site key from the page source, since it's public on purpose. What they can't copy is a fresh ticket, a captcha pass checked on the server, and an empty honeypot, all at once.

waypoint 3 · room III

Read the message

The path enters a library. Here I read the message itself.

The spam score, with reasons. It looks for links, spam phrases, shouting and repeated text, and writes down why it scored the way it did.

The review queue. Doubtful messages wait here. No email goes out until the site owner approves them, which takes one click. Nothing is thrown into the sea.

The field checks. Required fields and formats are checked on the server: emails look like emails, numbers like numbers. Fields nobody expected are kept too, so nothing gets lost.

waypoint 4 · room IV

Guard the replies

The last room protects everyone else. A form that sends thank-you emails could be misused to send email to strangers, so this room has three locks.

Thank-you caps. Only so many auto-replies per address per day.

No message echo. The thank-you never repeats what the visitor typed, so nobody can use your form to relay their own text to someone else's inbox.

The suppression list. Addresses that have bounced are skipped.

X marks the spot

the treasure

Stored, and two emails out

Past the fourth room, the message is stored safely in the portal. Two emails set off: a thank-you to the visitor in the site owner's own brand, and an alert to their team with one-tap Reply, Call and WhatsApp.

treasure found

Notes for travellers

  • The whole journey takes well under a second. The visitor doesn't notice any of it.
  • There are no secret passages. The captcha secret and signing secret never leave the server.
  • If you ever find a message held in Room III, it isn't lost at sea. It's waiting for you.