Domain restriction
Limit which websites can submit your embedded form.
Overview
Domain restriction lets you list the websites allowed to submit a form. When you set an allowlist, SimplyForms checks where each submission came from and rejects any that didn't originate from one of your domains — a lightweight way to stop other sites (or scrapers copying your embed snippet) from posting to your endpoint.
Plan availability: Domain restriction is included on the Pro plan and above. See pricing for the full comparison.
Setting it up
- Open a form in your dashboard and switch to the Security tab.
- Under Allowed domains, enter one host per line. Leave it blank to allow all origins (the default).
- Save.
Format & matching
- Enter bare hostnames —
example.com, nothttps://example.com/. The scheme, port, and path are ignored; matching is case-insensitive. - Use a leading
*.to match subdomains:*.example.commatchesapp.example.combut not the apexexample.com(add that separately if you need it). - Add
example.comandwww.example.comseparately —wwwis not added automatically.
example.com www.example.com *.example.com
Scope & behavior
- Applies to embedded forms only. Forms you host on SimplyForms (the
/f/…pages) are always accepted — they're served from our own domain. - When a list is set, submissions with no Origin/Referer header (for example server-to-server or
curlposts) are also blocked, since they can't be verified against the allowlist. - An empty list means unrestricted. If a team drops below Pro, a stored list stops being enforced (it's preserved and re-activates on upgrade).
Note: this is a lightweight anti-abuse control, not a hard security boundary — the browser Origin/Referer can be forged by non-browser clients. Pair it with CAPTCHA and the honeypot for stronger spam protection.