App and API Security Checklist for Businesses

Most data leaks in business apps do not come from advanced hacking. They come from simple gaps: an API that returns another customer's records when an ID is changed, a staff account that can call admin functions, or a login page that allows unlimited guesses. This checklist covers the checks every business app should pass before launch and before each release.
Why hiding APIs does not protect you
A web or mobile app talks to its server through APIs, and anyone can see those calls in their browser or with simple tools. Security researchers and attackers start there. The protection has to be on the server: every request must be checked, whatever the app's screens show or hide.
1. Keep each customer's data separate
If your app serves many businesses, such as labs, schools or stores, each one must only ever see its own records. Take the customer or tenant from the login session, never from a value the app sends, and check ownership on every read, update and delete. Test it by logging in as one customer and changing a record ID to another customer's. The answer must be refused.
2. Check roles on the server
Hiding a button is not access control. If a staff user calls an admin, billing or delete API directly, the server must refuse it. Also make sure users cannot change their own role or account through a profile update.
3. Secure login and sessions
Store passwords only as strong hashes. Rate limit login, OTP and password reset, and slow down or lock accounts after repeated failures. OTPs should expire quickly and work once. Sessions should expire, and logging out or changing a password should end old sessions. Offer two-factor login for admin users.
4. Validate input and limit output
Validate every input on the server and use parameterised database queries. Return only the fields each screen needs, and never send password hashes or other customers' details. Error messages should not show internal details.
5. Handle files carefully
Check uploaded files by type and size, store them privately, and serve them through links that expire and check who is asking.
6. Keep secrets and debug tools out of reach
API keys and passwords belong in server settings, not in app code or the code repository. Turn off debug modes, test routes and public admin panels in production, and do not publish source map files.
7. Use HTTPS and security headers
Serve everything over HTTPS with HSTS, and add standard security headers that protect against clickjacking and content sniffing. Limit cross-origin access to your own domains.
8. Logs, backups and sensitive data
Keep an audit log of who viewed or changed important records, take regular encrypted backups and test restoring them. For health, finance or personal data, encrypt data at rest and follow India's data protection rules on consent and deletion.
How to test
Before every release, test with at least two customer accounts and each user role, trying to reach data and functions that should be refused. Use automated API security scanners as well as manual checks, keep dependency alerts switched on, and get an outside penetration test at regular intervals. A responsible disclosure email lets researchers report problems to you privately.
How Abhivorn helps
We build custom software and apps with these checks designed in from the start, and we can review an existing app's APIs against this list. Share what your app does and who uses it, and we will suggest where to begin.
Frequently asked questions
- What is the most common security bug in business apps?
- Broken object-level authorisation: an API returns or changes a record without checking that it belongs to the logged-in user, so changing an ID exposes someone else's data.
- Is HTTPS enough to keep an app secure?
- No. HTTPS protects data while it travels, but it does not stop a logged-in user from requesting data they should not see. Server-side access checks are still needed.
- How often should an app be security tested?
- Run automated and manual checks before every release, keep dependency alerts on all the time, and get an outside penetration test at regular intervals or after major changes.
- What should we do if someone reports a security bug?
- Thank them, confirm the issue, fix it quickly, and check whether any data was accessed. A published security contact email makes it easy for researchers to report privately.


