Every freelance web developer is one misconfigured header away from a client disaster. This guide covers everything you need to lock down your sites, audit clients, and charge more for it.
Anay Pandya
1,575 words
Anay Pandya
Founder of ZeriFlow · 10 years fullstack engineering · About the author
Key Takeaways
Freelancer website security is one of the most overlooked — and most profitable — skills a web developer can master in 2026. Whether you manage five client sites or fifty, every project you ship is a potential liability if it lacks basic security hygiene. The good news: a structured checklist and the right free tools put you miles ahead of the average developer.
<div class="zf-stat-callout" style="background:#0d1117;border:1px solid rgba(16,185,129,0.25);border-left:3px solid #10b981;border-radius:4px;padding:16px 20px;margin:24px 0"> <p style="margin:0 0 4px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:0.15em;color:#10b981;font-family:monospace">ZeriFlow Data — 12,400+ sites analyzed</p> <p style="margin:0;font-size:13px;color:#e2e8f0;line-height:1.6;font-family:monospace">In ZeriFlow's dataset of 12,400+ scanned sites, the average security score is 52/100 — with 68% failing at least one critical check in categories including TLS configuration, check your security headers, DNS authentication, and cookie handling.</p> </div>
Keep reading
Is your site actually secure?
Run a free check — 60 seconds
Scan your site in 60 seconds — it's free: ZeriFlow →
Freelance developers rarely have a security team watching their back. Clients assume "the developer handled it." Developers assume "it's the host's job." That gap is where attackers live.
The most common incidents affecting freelancer-built sites include:
Secure, HttpOnly, or SameSite flagsA single breach on a client site can end a freelance career. Beyond reputation, GDPR and similar regulations can expose you to legal liability if you handled personal data without basic safeguards.
Before handing over any site, run through these checkpoints. This list maps directly to what automated scanners like ZeriFlow verify in one pass.
### HTTPS and TLS
- [ ] Valid SSL certificate installed and auto-renewing (Let's Encrypt or equivalent)
- [ ] TLS 1.2 minimum, TLS 1.3 preferred; SSLv3, TLS 1.0, TLS 1.1 disabled
- [ ] HTTP redirects to HTTPS (301, not 302)
- [ ] HSTS header present (Strict-Transport-Security: max-age=31536000; includeSubDomains)
### Security Headers
- [ ] Content-Security-Policy — restricts resource origins
- [ ] X-Frame-Options: DENY or SAMEORIGIN — prevents clickjacking
- [ ] X-Content-Type-Options: nosniff
- [ ] Referrer-Policy: strict-origin-when-cross-origin
- [ ] Permissions-Policy — limits browser feature access
### Cookie Security
- [ ] All session cookies carry Secure flag
- [ ] HttpOnly flag prevents JavaScript access
- [ ] SameSite=Strict or Lax set appropriately
### DNS and Email
- [ ] SPF record published and valid
- [ ] DKIM signing configured for the mail provider
- [ ] DMARC policy at minimum p=none with a reporting address
- [ ] DNSSEC enabled if the registrar supports it
### Application Layer - [ ] No sensitive data in public Git repositories - [ ] Admin panels behind authentication (no default credentials) - [ ] File upload handling sanitized - [ ] Dependencies up to date at launch
Running a tool like ZeriFlow takes 60 seconds and surfaces every misconfiguration in the TLS, headers, cookies, and DNS categories automatically — far faster than checking manually.
Your portfolio site, invoicing tool, and client portal are targets too. Attackers scrape freelancer sites specifically because they often have weaker defenses than corporate targets.
Minimum baseline for your own domains:
.env filesIf you use cPanel, Plesk, or similar shared hosting panels, audit what's publicly accessible. Directory listing, exposed phpinfo pages, and test files left in webroot are embarrassingly common even among experienced developers.
Security is one of the highest-margin upsells available to freelancers. Clients who have been burned by a breach will pay. Clients who haven't yet will pay if you frame the risk correctly.
Framing that works:
Productize it into tiers:
| Tier | What's Included | Example Price |
|---|---|---|
| Launch Audit | One-time scan + remediation report | $150–$300 |
| Quarterly Review | Scan + 4 check-ins per year | $500–$800/yr |
| Monthly Monitoring | Automated alerts + monthly report | $100–$200/mo |
The key insight: you are not selling "a security scan." You are selling peace of mind and legal risk reduction. Frame it that way, especially to healthcare, legal, and e-commerce clients who have regulatory exposure.
The freelancers who make money on security don't reinvent the process each time — they have a workflow.
Suggested workflow for new client onboarding:
This workflow takes less than two hours of actual work for a typical static or WordPress site. The documentation and reporting is what you charge for.
You don't need an enterprise security budget. These tools cover the fundamentals:
The combination of ZeriFlow for infrastructure-layer checks and Snyk or npm audit for application-layer checks covers about 80% of what a professional security audit covers for typical freelance projects.
A: It depends on your contract. If your agreement includes language about security obligations or if you handled personal data under GDPR, you could face claims. The simplest protection is a clear scope-of-work clause stating what security measures you included, combined with actual evidence of having implemented them (scan reports, remediation notes). Document everything.
A: At minimum: before launch and after every major update (CMS upgrade, new plugin, infrastructure change). For retained clients, monthly rescans catch certificate expiry, header regression from CMS updates, and DNS drift. A quarterly deep review is the minimum for clients with any regulatory exposure.
A: For most freelance projects (marketing sites, SMB e-commerce, informational sites), an automated scanner covers the configuration-layer risks that represent the majority of real-world attacks. Penetration testing is warranted for SaaS products with authenticated user sessions, financial applications, and anything handling sensitive personal data. You can charge for coordinating a pentest even if you don't perform it yourself.
A: A one-page summary works well: what was scanned, what was found (grouped by severity), what was fixed, and what remains as accepted risk or out-of-scope. Attach the before/after scan screenshots. This becomes part of your project documentation and demonstrates professional diligence.
A: Yes. Page builders add plugin surface area and often inject inline scripts that make a strict Content-Security-Policy difficult to implement. Focus on TLS, HSTS, cookie flags, DMARC, and keeping the builder and all plugins updated. Note the CSP limitation explicitly in your deliverable — it's a known trade-off of the platform, not a failing on your part.
Freelancer website security is not a specialist skill — it is a professional baseline. The developers who stand out in 2026 are the ones who can hand over a project with documented proof that the fundamentals are in place: valid TLS, correct headers, secure cookies, and a DMARC policy that stops email spoofing.
The workflow is simple: scan before launch, fix what's critical, rescan, document. Repeat monthly. Tools like ZeriFlow make the scanning part take 60 seconds instead of 60 minutes.
And if you are not charging for it yet — you should be.
Start your free ZeriFlow scan → — no credit card, instant results.
<!-- zf-internal-links -->
Related resources
Website Vulnerability Scanner
Run a broader website security audit across headers, TLS, DNS, cookies, SEO, and disclosure checks.
Security Headers Checker
Check CSP, HSTS, X-Frame-Options, and other response headers.
SSL Checker
Review TLS certificate, HTTPS, and transport security signals.
DMARC Checker
Validate email authentication records for domain spoofing protection.
CSP Checker
Review Content-Security-Policy coverage and common gaps.
June 24, 2026
Best Security Tools for AI Startups
Monitor your security score
Schedule recurring scans and catch regressions after deployments.