Insights CYBER SECURITY

PRACTICAL GUIDE · CYBER SECURITY

A website security baseline for small B2B teams

Start with the public surface, protect the integrations around it and verify controls in actual responses. A checklist is a baseline, not a certification.

Inventory the real surface

List the public domain, hosting account, DNS provider, source repository, deployment permissions and every external script or integration. Record an owner for each. A static website has fewer application components than a logged-in product, but its DNS, deploy pipeline and third-party resources still matter.

Use multi-factor authentication on administrative accounts, remove unused access and avoid sharing personal logins. Identify where a booking link leaves the site and where a webhook or API introduces a separate server-side system. Do not describe an external booking service as if it were protected by your website's own controls.

Add headers deliberately, then verify them

Inspect the actual HTTPS response, for example with curl -I https://your-domain.example. Check the canonical host, redirects, HTML pages and relevant error responses. A configuration file alone does not prove what visitors receive.

  • Content-Security-Policy: inventory the scripts, fonts, images and connections the site needs. Start with a report-only policy where appropriate, fix violations and then enforce it. frame-ancestors controls who can embed the page; it must be delivered as a response header.
  • Strict-Transport-Security: enable only after confirming HTTPS works reliably. Evaluate subdomains before adding includeSubDomains; preloading is a separate commitment, not a default checkbox.
  • X-Content-Type-Options: nosniff: pair this with correct content types.
  • Referrer-Policy: choose how much URL information should accompany requests to other sites.
  • Permissions-Policy: restrict browser capabilities the site does not use, after checking browser support.

Avoid broad allowlists and permissive exceptions added only to silence console errors. Test fonts, navigation, images and booking links after enforcement. These are recommendations for deployment; they are not a claim that every header is enabled on GingerClick today. See our current site security explanation.

Treat Cloudflare WAF as a layer, not a cure

A Cloudflare WAF can evaluate traffic that actually passes through Cloudflare. Verify DNS proxying, the selected hostname, plan capabilities and which routes a rule covers. If an origin remains directly reachable, consider whether origin-access restrictions are appropriate for your host; a rule on the proxy does not protect a bypass path.

Start narrowly, review events and test legitimate traffic before enabling a blocking rule. A challenge that blocks genuine prospects or integration callbacks is an operational failure. Scope exceptions to the endpoint and authentication mechanism that needs them, rather than turning off protection for the entire site. Available features and managed rules depend on the plan and configuration.

Keep keys server-side and verify webhooks

Anything shipped in static HTML or browser JavaScript is public. Store secret API keys in the server-side environment of the service that uses them, not in page source, URLs or a committed repository. Use separate credentials per integration, grant the minimum scope and rotate exposed keys. Deleting a leaked value from the latest file is not the same as revoking it.

For webhooks, follow the sender's documented verification scheme. Verify the signature over the exact raw body before parsing or acting on it; do not invent a generic signature format. Where the protocol supports it, validate timestamps and reject stale deliveries. Keep event identifiers so retries do not repeat a sensitive action.

Bound request size, handle unexpected event types and avoid logging full payloads containing personal data. IP allowlists can be an additional control where maintained by the provider, but should not replace supported cryptographic verification.

Make the baseline maintainable

After a deployment, recheck response headers, account access and the critical visitor journey. Keep a short record of what is configured, where it lives and how to undo a change. Test your deployment rollback process and assign someone to monitor failed integration deliveries.

If something is exposed, revoke the affected credential, contain access and determine what was reachable before treating the incident as resolved. Security work is ongoing risk reduction; a WAF or a static architecture does not make a site invulnerable.

References: MDN Content Security Policy, Cloudflare WAF documentation and OWASP secrets management guidance.

RELATED SERVICES

Put the ideas
into practice.

YOUR NEXT SYSTEM

What could work
better together?

A first conversation to understand your business and identify what is worth building.