A pre-launch security check confirms that a new website or web app does not go live with the weaknesses attackers look for first: users who can reach data that is not theirs, weak login handling, exposed secrets, missing security headers, outdated components and no way to notice or recover from an incident. The checklist below covers those areas in the order we would review them. It is a self-check for your team, not a replacement for independent testing, but it catches the problems that are cheapest to fix before real users and real data arrive.
Key points
- Broken access control is the most common serious web weakness. Test that every user can reach only their own data, by changing IDs in requests, not only by clicking through the interface.
- Secrets such as API keys and database passwords must not sit in code, front-end files or public repositories.
- Turn off debug modes, default accounts and verbose error messages on the production server.
- Make sure you can see an attack (logs and alerts) and recover from one (tested backups) before launch, not after.
- Book independent testing for anything that handles payments, personal data or business-critical workflows.
Why check security before launch rather than after?
Because the first weeks after launch are when a site is both most visible and least watched. New sites get scanned by automated tools within hours of going live. If a staging password, an open admin panel or an unprotected API is there, it will be found.
Fixing a design problem before launch is also far cheaper. Changing how authorisation works across an application is a small task while the code is fresh and nobody depends on it. After launch it means data migrations, regression testing and, sometimes, telling customers their data was exposed.
The list is organised around the risks in the OWASP Top 10:2025, the most widely used awareness list for web application risks. In the 2025 edition, broken access control stays at the top, security misconfiguration rises to second and software supply chain failures appear as a new third category.
Access control: can users only reach what is theirs?
- Every request is checked on the server. Hiding a button in the interface is not access control. The server must confirm the user may perform each action on each record.
- IDs cannot be swapped. Log in as user A, copy the URL or API request for one of A’s records, then try it as user B. B should get an error, not A’s data.
- Roles are enforced. A normal user cannot reach admin pages or admin API endpoints by typing the URL.
- Tenants are separated. On a platform with several customer organisations, one organisation can never see another’s records, files or reports.
- Files are protected. Uploaded documents and generated reports are not available at guessable public URLs.
These checks are where automated scanners are weakest and manual testing earns its cost. Our API security testing checklist goes deeper for APIs.
Logins and sessions: is the front door solid?
- Passwords are stored with a modern, slow hashing algorithm such as Argon2, scrypt or bcrypt, never in plain text or with a fast hash.
- Login attempts are rate-limited, so passwords cannot be guessed at speed.
- Multi-factor authentication is available, and required for admin accounts.
- Password reset is safe. Reset links expire, work once and do not reveal whether an email address has an account.
- Sessions end properly. Logging out invalidates the session on the server, and idle sessions time out.
- Cookies are set with Secure, HttpOnly and SameSite attributes.
Configuration: is production set up for production?
- Debug mode is off and error pages do not show stack traces, file paths or database messages.
- Default accounts and sample content are removed, including default admin logins on any CMS, database tool or server panel.
- Admin panels are not exposed to the whole internet where you can avoid it. Restrict them by login, network or VPN.
- HTTPS is enforced with HTTP Strict Transport Security (HSTS).
- Security headers are set: Content-Security-Policy, X-Content-Type-Options, Referrer-Policy, X-Frame-Options or frame-ancestors, and a Permissions-Policy suited to the site.
- Directory listing is off and backup files,
.gitfolders and environment files are not reachable from the web. - Cloud storage is private by default. Buckets and containers holding uploads or backups are not publicly listable.
Secrets: are keys and passwords kept out of reach?
- No secrets in source code or front-end bundles. Search the repository and the built JavaScript for keys, tokens and passwords.
- Secrets live in a secrets manager or the host’s environment settings, not in files committed to version control.
- Staging and production use different credentials, and any key that was ever shared in chat or email has been replaced.
- Third-party keys are restricted to the domains, IP addresses or permissions they need.
Inputs and data: is everything users send treated with suspicion?
- Input is validated on the server, and database queries use parameterised statements, which prevents SQL injection.
- Output is encoded so that text a user enters cannot run as script in someone else’s browser (cross-site scripting).
- File uploads are restricted by type and size, stored outside the web root or in private storage, and scanned where the risk justifies it.
- Forms have spam and abuse protection, such as rate limits and honeypot fields, without hurting accessibility.
- Personal data is limited to what you need, and sensitive fields are encrypted where appropriate. In India, the DPDP Rules make reasonable security safeguards a legal duty.
Components: is the supply chain under control?
- Dependencies are up to date, and a dependency scanner reports no known critical vulnerabilities.
- You know what is in the build. Keep a list of libraries and their versions, sometimes called a software bill of materials, so you can react quickly when a new vulnerability is announced.
- Third-party scripts are kept to what you need, loaded from trusted sources and covered by your Content-Security-Policy.
- Build and deployment accounts are protected with multi-factor authentication and least-privilege access.
Detection and recovery: will you notice, and can you bounce back?
- Security-relevant events are logged: logins, failed logins, permission changes, admin actions and errors, without writing passwords or full card numbers into the logs.
- Someone gets alerted on unusual activity, such as bursts of failed logins or errors, and knows what to do next.
- Backups run automatically, are stored separately and have been restored at least once. An untested backup is a hope, not a plan. See RPO and RTO explained for how to set recovery targets.
- There is a short incident plan: who decides, who you call, how you contact affected users and which authorities you must notify. In India, CERT-In expects certain incidents to be reported within six hours.
When is a self-check not enough?
A checklist finds missing basics. It does not prove that a determined tester cannot chain two small issues into a serious one. Book independent testing before launch when the application:
- handles payments, health, financial or other sensitive personal data;
- has several user roles or several customer organisations sharing one platform;
- exposes an API used by mobile apps or partners;
- is needed for a customer contract, investor review or audit that asks for a test report.
Our guide to VAPT vs vulnerability assessment explains which kind of test fits which need, and what a penetration test report should contain helps you judge the result.
Frequently asked questions
How long before launch should security testing happen?
Plan it two to four weeks before launch, once features are complete and the test environment matches production. That leaves time to fix findings and run a retest without delaying go-live.
Is a vulnerability scan enough before launch?
A scan is a useful baseline for known issues in software and configuration. It does not reliably find access-control or business-logic flaws, which need manual testing. For a simple brochure site, a scan plus this checklist may be enough; for a web app with user accounts, it usually is not.
Do we need security headers on a simple marketing website?
Yes. They are cheap to add and protect visitors against clickjacking, content sniffing and some script injection. HTTPS with HSTS is the minimum for any site.
What is the OWASP top 10:2025?
It is the 2025 edition of the OWASP Foundation’s awareness list of the most critical web application security risks. It is led by broken access control, then security misconfiguration and software supply chain failures. It is a starting point for priorities, not a complete testing standard.
Who should own the pre-launch security check?
The development lead usually runs it, with sign-off from whoever owns the product’s risk. For sites that handle sensitive data, an independent tester should check the result.
What should you do next?
Work through the checklist with your developers and note anything you cannot answer with confidence. If the application handles accounts, payments or personal data, plan independent testing before launch. Our web application and API security testing service starts with written authorisation and an agreed scope.
Plan a pre-launch security test
Please never send passwords or secrets through the form.
Sources
- OWASP Top 10:2025: https://owasp.org/Top10/2025/
- OWASP Application Security Verification Standard (ASVS): https://owasp.org/www-project-application-security-verification-standard/
- OWASP Cheat Sheet Series, HTTP security response headers: https://cheatsheetseries.owasp.org/cheatsheets/HTTP_Headers_Cheat_Sheet.html
- CERT-In Directions under section 70B of the IT Act (28 April 2022): https://www.cert-in.org.in/Directions70B.jsp