Many business website and custom software projects are signed off purely on visual polish and functional acceptance tests. Once the system opens to public traffic, leftover development defaults, test API keys buried in repository history, broken permission boundaries, or untested backup jobs immediately become the client organization's operational liability. Turning handover into an evidence-based security gate helps project owners prevent avoidable launch incidents and secure clear ownership of every digital asset.
Transport Security and Browser Hardening: HTTPS, HSTS, and CSP
The first line of defense sits in how the edge proxy or application server enforces encryption and browser policies. During acceptance, project owners should look past the browser padlock icon and verify explicit TLS and header rules:
- HTTPS and TLS enforcement: Require TLS 1.2 or TLS 1.3, automatic
301 redirects from plain HTTP on port 80 to HTTPS, and automated certificate renewal. - HSTS policy: Serve
Strict-Transport-Security: max-age=31536000; includeSubDomains so browsers refuse protocol downgrade attempts on public or untrusted networks. - CSP and CORS headers: Configure
Content-Security-Policy with explicit allowlists for scripts, styles, and API endpoints rather than wildcards or unrestricted unsafe-inline. Admin panels should also include frame-ancestors 'none' against clickjacking, X-Content-Type-Options: nosniff, and Referrer-Policy: strict-origin-when-cross-origin. Backend CORS rules must lock Access-Control-Allow-Origin to verified production domains and never pair wildcards with credentials.
Authentication, RBAC Verification, and Secret Hygiene
Broken access control consistently leads OWASP Top Ten application risks. Before signing off, delivery teams should produce repeatable authorization test logs along two axes. For horizontal privilege checks (IDOR/BOLA), use authenticated Account A to request record IDs, invoices, or attachments owned by Account B; the server must return HTTP 403 Forbidden or 404 Not Found at the data layer rather than relying on hidden UI controls. For vertical privilege checks, call admin routes and bulk export endpoints using a standard user token to confirm server-side role guards hold everywhere. Session tokens should reside in HttpOnly, Secure, and SameSite=Lax (or Strict) cookies, paired with login rate limiting and automatic session revocation on password reset.
Secret hygiene determines whether the deployment stays safe after contractor access ends. Scan the full Git commit history with a detector such as Gitleaks to confirm zero API keys, database URIs, or JWT signing secrets were committed. Before handover, rotate every credential used during development, keep staging and production secrets strictly isolated, and transfer root ownership of cloud accounts, databases, DNS registrars, and source repositories to client accounts protected by multi-factor authentication (MFA).
Dependency Audit Reports and Backup Restore Proof
Custom software builds pull in hundreds of transitive packages where one unpatched library advisory can expose production after launch. Require committed lockfiles (package-lock.json, pnpm-lock.yaml, uv.lock, or go.sum) alongside a Software Composition Analysis (SCA) report from npm audit, Trivy, or an SBOM generated at the exact handover commit. Unresolved Critical or High CVEs should be patched before sign-off or documented with a concrete mitigation plan.
Aligned with NIST SP 800-61 Rev. 3 incident preparedness guidance, a scheduled backup policy on paper does not prove recoverability after database corruption or ransomware. Acceptance must include live backup restore proof: restore the latest database snapshot and object-storage assets into an isolated staging environment, record measured Recovery Time Objective (RTO) and Recovery Point Objective (RPO) values, verify row counts, and confirm application health. Backups should also use immutability or isolated storage roles so a compromised app account cannot delete recovery snapshots.
Pre-Handover Security Acceptance Matrix
Project owners and technical leads can attach this checklist directly to the final sign-off annex:
| Acceptance Domain | Risk if Skipped | Required Handover Evidence | Quick Verification Check |
|---|
| HTTPS & HSTS | Traffic interception, HTTP downgrade | TLS 1.2/1.3 config, 301 redirect, active HSTS | Run curl -I to confirm Strict-Transport-Security |
| CSP & CORS Headers | XSS script injection, clickjacking | Strict CSP allowlist, frame-ancestors 'none', locked CORS | Inspect response headers on public and admin routes |
| Auth & RBAC Tests | Cross-account data leaks (IDOR), admin bypass | Horizontal/vertical test logs and HttpOnly cookies | Swap record ID across accounts; expect 403/404 |
| Secret Hygiene | Leaked Git keys, lingering vendor access | Clean Git secret scan, key rotation log, MFA on root | Check .env.example and verify contractor access removal |
|
Building these controls in from sprint one avoids costly pre-launch rework. Organizations planning a new build can see how structured release gates work in our business web and application development service.
Scope and Technical Limitations
This checklist synthesizes public guidance from the OWASP Top Ten Web Application Security Risks and NIST SP 800-61 Rev. 3 alongside ToanKhonTech's engineering delivery practices. ToanKhonTech does not claim to have discovered vulnerabilities in any third-party software or infrastructure provider.
These six checks establish a baseline pre-handover gate; they do not replace independent manual penetration testing, formal threat modeling, production security monitoring, or regulated compliance audits such as PCI-DSS or ISO 27001.