Ack's rulebook
Your key is public.
Ack doesn't mind.
On a static website, anyone can read your page source: the key, the address, the field names. So Ack never trusts the key on its own. Every visitor has to earn their way in.
in your page · public
Site key
Says which form this is. Useless on its own, and only accepted from your domains.
on our server · never shared
Secrets
Captcha secret and signing secret, encrypted and never sent to a browser.
every submission · earned
Proof
A fresh single-use ticket plus a captcha pass, both checked on our side.
four rooms to get through
Defence, room by room.
Room 1
The door
- Origin allowlistBrowsers can only submit from domains you registered.
- Rate limitsPer IP and per site, roomy for real people.
Room 2
Prove you're human
- Single-use tokenIssued on page load, tied to that browser.
- Server-side captchaTurnstile or reCAPTCHA, verified with your secret and hostname.
- HoneypotAn invisible field only bots fill in.
Room 3
Read the message
- Spam score with reasonsLinks, spam phrases, shouting, repeated text.
- Review queueDoubtful ones wait. No email until you approve.
- Field checksRequired fields and formats, on the server.
Room 4
Guard the replies
- Thank-you capsLimited auto-replies per address per day.
- No message echoYour form can't be used to relay spam.
- Suppression listBounced addresses are skipped.
tried and failed
The attack sheet.
| The trick | What happens | Caught by |
|---|---|---|
| Copy the key into a script | Rejected: no ticket, no captcha pass. | ticketcaptcha |
| Use the key on another website | Rejected: wrong domain, wrong captcha hostname. | origincaptcha |
| Fake the Origin header | Header passes. Ticket and captcha don't. | ticket |
| Replay a saved request | Rejected: ticket already used. | single-use |
| Flood from one machine | Throttled after a short burst. | rate limit |
| Bomb a stranger's inbox | Two thank-yous, then nothing. | reply cap |
| Type SEO spam by hand | Held for review. No email sent. | spam score |
| Forge a delivery webhook | Ignored: signature doesn't match. | signed webhooks |
Ack's honest note:
Nobody can stop a real person typing spam into a real browser. That's exactly why doubtful messages wait for you instead of landing in an inbox.
have a backend?
Signed server mode
Sign each request with your site secret (HMAC-SHA256) and a timestamp. Old or altered requests are refused.
X-FormAck-Key: pk_live_… X-FormAck-Timestamp: 1794310000 X-FormAck-Signature: sha256=9f2c…
your data
Kept apart, kept safe
- Isolation: each company's sites and submissions are separate.
- Secrets: encrypted, never shown again after saving.
- HTTPS only: for the API and the portal.
- Region: [YOUR HOSTING REGION]