Where leaks actually happen
Hacks like those in the movies are rare. More often, data leaks because of mundane things: the database password is stored right in the app's code, the server is open to the internet with no restrictions, a contractor has left but their access remains, or backups sit in a publicly accessible folder.
That is why security is not a single checkbox but a set of disciplines at every level: the app itself, the server, the database and the company's processes. Below is what exactly we build in.
What we protect at each level
- In the app
- Secret keys are not stored in the code, tokens are kept in the phone's secure storage, and connections use HTTPS only.
- On the server
- Permissions are checked on every request: a customer sees only their own orders. Rate limiting protects against brute-force attempts.
- In the database
- Access only from the app server, encryption of sensitive fields, separate accounts.
- Backups
- Automatic copies in a separate location and restore testing: a copy that cannot be restored is useless.
- User login
- A code by SMS or in a messenger, limited attempts, ending the session on a lost phone.
- Team access
- Role-based permissions, an admin action log and immediate deactivation when someone leaves.
What to ask the contractor
- Where the server will physically be located and who has access to it
- How passwords and keys are stored and whether all access can be handed over to you
- Whether there are daily backups and whether restoring has been tested
- How account and data deletion on a user's request works
- Who is responsible for updating libraries and fixing discovered vulnerabilities
- What happens to the data if you decide to change developers
What we do before launch
Access rights check1 day
We try to get other people's data under an ordinary account; this is how the most dangerous bugs are found.
Dependency check2 hours
We update third-party libraries with known vulnerabilities.
Load and brute force1 day
We check that the server does not crash under a flood of requests and blocks code guessing.
Documents1 day
Privacy policy, consent, retention policy, a description of the deletion procedure.