Skip to content
BlurtekBlurtek
← Back to blog
Cybersecurity

Web form security: protecting leads from submission to follow-up

A captcha is only one control. Review permissions, notifications, secrets and recovery to protect enquiries submitted through your business website.

Blurtek
3 min read469 words
Data centre access control: a conceptual security image
Conceptual technology image.
01

The form ends where your data journey begins

An enquiry may travel through a website, API, database, CRM and several notifications before somebody responds. Reviewing only the visible form leaves most of that journey unchecked. Start by mapping where each field is stored, which account can access it and what happens when an integration fails. A confirmation message alone does not prove that the enquiry was saved.

02

Separate submission from retrieval

The public operation needs to receive a valid enquiry. It does not need to list contacts, change other records or administer tables. Document these permissions separately and enforce them on the server. OWASP recommends denying access by default and checking authorisation on every request. An identifier that is hard to guess can discourage enumeration, but does not replace checking who may access the record.

03

A captcha does not protect the entire API

Anti-spam checks should be accompanied by field validation, an actual request-body size limit and rate controls. The server must reject unexpected inputs even when somebody bypasses the interface. In a hypothetical example, accepting an object where a name should be text could break notifications. Useful testing covers incomplete fields and incorrect types as well as a successful submission.

04

Notifications are another data destination

Decide what the team actually needs in an email or messaging alert. Avoid automatically copying the whole message, IP address and browsing history when they do not help the sales conversation. Escape visitor-provided text before inserting it into an HTML template. Assign an owner to the destination inbox and review retained access whenever team responsibilities change.

05

Prepare recovery that can be verified

A change plan should include an available previous release, a protected configuration backup and a way to check the new service before sending traffic to it. In Supabase applications, service keys belong in the backend because they can bypass row-level policies. Keeping an inventory of their consumers makes replacement less likely to break the form, CRM or article publisher.

06

How to validate the result without real contacts

Agree on a recognisable synthetic contact and a verification window, avoiding customer data. Check receipt, storage, notification to the owner and removal of the test record. Include tests confirming that visitors cannot read or edit other records and that errors do not reveal secrets. Record the date, release and result. That evidence is more useful for maintenance than a screenshot showing that the submit button works.

07

A starting checklist

  • Public permissions limited to the required operation.
  • Secrets excluded from the browser and logs.
  • Validation and limits checked on the server.
  • No unescaped visitor HTML in notifications.
  • Recovery tested and follow-up owner identified.

Define the scope and next step with the Blurtek team.

Explore the service
WE START BY LISTENING

Your next step,
thought through together.

Tell us what needs to improve. We help you decide where to start and what is worth building.

Tell us about your project