What should you check before launching a web application?
Before launch, test that login and sessions cannot be bypassed, that one user can never reach another user's data, that payments, approvals and limits cannot be abused, that uploads and API inputs are handled safely, that no secrets or debug settings ship to production, and that responses and logs expose no more data than needed.
Why check security before launch?
Because a fix before launch is a code change, and a fix after launch can be a data breach, a customer notice and a migration. Before real users arrive, the team still remembers how each feature works, test data can be thrown away, and nobody has to explain an incident to a regulator or an investor.
This matters most for products that handle money, health information or identity documents, such as fintech, health and marketplace products for the UAE, Saudi Arabia and Qatar, or US startups selling into those markets. The checks below are the ones that most often decide whether a launch is safe.
Login, sessions and password reset
Confirm that nobody can sign in as someone else, stay signed in after they should not be, or take over an account through the reset flow. Authentication is where attackers start because it guards everything else.
- Login and one-time-password endpoints are rate-limited, and errors do not reveal whether an account exists.
- Password-reset and email-verification links are single-use, expire, and cannot be reused for a different account.
- Sessions end on logout and after inactivity, and session tokens are not exposed in URLs or logs.
- Admin accounts use multi-factor authentication, and staff and customer logins are separated.
Can one user reach another user's data?
Test that every request checks, on the server, whether this user may see or change this record. Broken access control is one of the most common serious findings in web applications, and it is easy to miss because the interface hides what the API still allows.
- Change the ID in a URL or API request (an order, invoice or profile number) and confirm the server refuses it.
- Sign in with each role and try actions meant for a higher role, directly through the API.
- In multi-tenant SaaS, confirm one company can never read or write another company's data, including exports and search.
- Check that files and documents are served through an access check, not from guessable public links.
Business logic: payments, approvals and limits
Check that the rules your business depends on cannot be skipped, repeated or reversed. Scanners rarely find these problems because they need to understand what the application is for.
- Prices, discounts and totals are calculated on the server, never trusted from the browser.
- Coupons, referrals and free trials cannot be redeemed twice by repeating or racing requests.
- Approval steps, for example a manager approving a payout, cannot be skipped by calling the final step directly.
- Limits on withdrawals, transfers or orders hold under parallel requests.
Uploads, inputs and APIs
Treat every input as hostile, whether it comes from a form, a file, an API client or a webhook. The goal is that unexpected input fails safely instead of running as code or reaching other users.
- Database queries are parameterised, and user content is encoded on output to prevent script injection.
- Uploads are checked by content, size-limited, stored outside the web root and served with safe headers.
- Arabic and other right-to-left text is handled correctly, and direction-control characters cannot disguise file names or links.
- Webhooks from payment providers and partners are verified by signature before they are trusted.
- The API returns only the fields the screen needs, and unused or old endpoints are removed.
Secrets, configuration and dependencies
Make sure the production build contains no secrets, no debug features and no known-vulnerable libraries. Many incidents start with a key in a repository or an admin panel left open.
- API keys, database passwords and signing keys live in a secrets store or environment settings, not in code or the mobile bundle.
- Debug mode, stack traces, test accounts and sample data are off or removed in production.
- Admin panels and internal tools are not reachable from the public internet without strong authentication.
- Dependencies are checked against known vulnerabilities, and there is a plan to keep them updated.
- HTTPS is enforced, with security headers and cookie flags set.
Data exposure and logging
Store and return only the personal data you need, and log enough to investigate an incident without logging secrets. You cannot respond to what you cannot see.
- Sensitive fields such as identity numbers and card data are masked in responses and never written to logs.
- Backups are encrypted and access to them is limited.
- Logins, permission changes, payouts and admin actions are logged with who and when.
- Someone is named to receive alerts and act on them after launch.
The checklist on one page
| Area | The question to answer before launch |
|---|---|
| Authentication | Can anyone sign in as someone else or take over an account through reset? |
| Sessions | Do sessions end on logout and inactivity, and are tokens kept out of URLs and logs? |
| Access control | Does the server refuse every request for a record the user does not own? |
| Business logic | Can prices, coupons, approvals or limits be skipped, repeated or raced? |
| Inputs and uploads | Does unexpected input fail safely, including files and right-to-left text? |
| APIs and webhooks | Are responses minimal, old endpoints removed and webhooks verified? |
| Secrets and config | Is the production build free of keys, debug features and open admin panels? |
| Dependencies | Are libraries checked for known vulnerabilities, with an update plan? |
| Data and logs | Is sensitive data masked, backups encrypted and key actions logged? |
What to ask for when you commission a review
Ask for a written scope, manual testing of your roles and business logic, a report with a clear fix for each finding, and a retest. Those four things separate a useful review from a scanner export.
The scope should list the applications, APIs and environments covered, the roles to be tested, the testing window and who to contact if something breaks. If you are regulated, give the reviewer your regulator's or auditor's list so the review covers it. Agree in advance who receives the report and how findings will be shared, and plan time in the release schedule for fixes and the retest.
Short FAQ
How long before launch should a security review happen?
Early enough that fixes and a retest fit before the launch date. The practical moment is when features are mostly frozen and running on a staging environment that matches production. How long the review itself takes depends on the number of roles, integrations and API endpoints, and is stated in the scope.
Is a security review required by regulators in the UAE or Saudi Arabia?
It depends on your sector and your regulator, so confirm it with your compliance adviser rather than relying on a general answer. Fintech, health and government-facing products often have specific testing expectations. Once you know the required list, the review can be scoped to cover it and the report written so it can be shared.
Do we still need a review if we use a modern framework and a major cloud provider?
Yes. Frameworks and cloud platforms remove whole classes of low-level bugs, but they cannot know your business rules. Most serious pre-launch findings are about who can see or change what, and how payments, approvals and limits can be abused. Those live in your own code and configuration.
What should a good security report contain?
A short summary for decision-makers, then each finding with its risk rating, the affected part of the application, steps to reproduce, the likely impact and a clear fix. It should also record what was tested and what was out of scope, and the results of the retest after fixes.