Mobile App Security & Data Privacy: An Owner's Guide
An owner's guide to mobile app security: 2026 breach data, the eight OWASP MASVS pillars, store privacy rules, the 72-hour clock and 12 agency questions.
Mobile app security is a legal obligation rather than a technical nice-to-have. Under GDPR you owe "appropriate technical and organisational measures," and regulators fine the business that owns the app, not the agency that wrote it. In 2026 the average breach costs USD 4.99 million worldwide.
Most owners discover this ordering the hard way. You commission an app, ship it to the stores, and treat the job as finished. But in data protection law you are the controller: the party deciding why and how user data gets collected. Your agency is a processor acting on your instructions. That single distinction decides who signs the settlement.
This guide stays on the business side of the mobile app security line. It covers what attackers actually target in 2026, the eight pillars your build should satisfy, what Apple and Google check before approving a release, and the questions that separate an agency that has done this before from one that has not. The legal sections give general information and do not replace advice from a qualified data protection lawyer.
Table of Contents
- Why mobile app security is a legal question
- The 2026 threat picture in numbers
- What data does your app actually hold?
- Eight pillars of a secure mobile architecture
- What Apple and Google require before you ship
- Breach response: the 72-hour clock
- 12 security questions to ask your agency
- Budgeting for security and when to spend
- Building in Turkey: KVKK obligations
- A practical 30-day starting plan
- Frequently Asked Questions
Why mobile app security is a legal question
Article 32 of the GDPR sets the baseline for anyone serving European users: pseudonymisation and encryption where appropriate, ongoing confidentiality and integrity of processing systems, the ability to restore access after an incident, and a process for regularly testing the measures you put in place. Regulators read that last clause literally. "We never tested it" answers the question badly, and it turns mobile app security from an engineering topic into a documented compliance duty.
The regulation frames security as risk-proportionate, which cuts both ways. A recipe app storing only email addresses faces a lighter bar than a telehealth app holding prescriptions. But proportionality never means zero. Every app that authenticates a user handles credentials, and credentials always deserve protection.
Two contractual details matter more than most owners expect. First, you need a written processor agreement with your development agency covering what they may do with production data, whether they can bring in subcontractors, and how they destroy test copies at project close. Second, you need to know where a copy of your live database currently sits. A dump on a former developer's laptop remains one of the most common findings in privacy audits, and it belongs to you legally no matter who created it.
The 2026 threat picture in numbers
The volume is easy to underestimate. Kaspersky's Q2 2026 mobile threat report counted 1,996,823 blocked attacks on mobile devices in a single quarter, alongside more than 304,000 malicious installation packages. Of those packages, 93,574 were mobile banking Trojans, and the Trojan-Banker category topped the list with a 30.77% share of detected threats.
How attackers get in has shifted too. Verizon's 2026 Data Breach Investigations Report found that 31% of breaches start with vulnerability exploitation, which overtook stolen credentials as the leading entry point for the first time in the report's 19-year history. The same research puts a third party in the chain of 48% of all breaches, a 60% jump year over year. Every analytics, advertising or chat SDK you bundle feeds that statistic.
On cost, IBM's Cost of a Data Breach 2026 study measured a global average of USD 4.99 million, a record and a 12% rise over the previous year. A small business will never see a figure that size, but the line items scale down proportionally: regulatory fine, incident response, customer churn, and the engineering weeks you spend rebuilding trust instead of shipping features.
One structural point deserves emphasis. Mobile app security debates tend to focus on the phone, yet most incidents happen on the backend. Anyone can download your app, decompile it, and replay its API calls. The client is public code running on hardware you do not control, so your real defensive line sits on the server.
What data does your app actually hold?
The conversation starts with an inventory, and most teams have never produced one. Data minimisation works in your favour here: data you never collect is data you cannot lose, cannot leak, and never have to declare in a store listing.
| Data type | Example | Sensitivity |
|---|---|---|
| Identity and contact | Name, phone, email | Standard personal data |
| Location | GPS trail, delivery address | Standard, but continuous tracking raises risk |
| Health and biometrics | Appointment notes, face or fingerprint data | Special category; needs a stricter legal basis |
| Financial | Card details, IBAN, order history | Prime fraud target; retention period critical |
| Device identifiers | IDFA, GAID, advertising ID | Personal data; tracking requires consent |
| Usage telemetry | Screen flow, session length | Becomes personal data unless truly anonymised |
Building the inventory takes less time than people fear. Open a spreadsheet, list every field your app writes, and add four columns: which screen collects it, why you process it, where it lives, and how long you keep it. Half a day with your developers usually covers a mid-sized app. That single table then feeds your privacy policy, your store declarations and your records of processing, which removes the contradictions auditors love to find.
Retention deserves its own decision. A three-year location history kept "just in case" multiplies the damage of any future breach. Assign every field a deletion deadline and enforce it with a scheduled job, because a manual promise to clean up carries no evidential weight.
Eight pillars of a secure mobile architecture
The industry reference for mobile app security is the OWASP Mobile Application Security Verification Standard, or MASVS. It splits mobile app security into eight categories, each with verifiable controls, which gives you a concrete way to review what your agency delivered.
| MASVS category | What it means in practice |
|---|---|
| STORAGE | Tokens and personal data live encrypted in Keychain or Keystore |
| CRYPTO | Standard algorithms such as AES-256, with keys held in secure hardware |
| AUTH | Session expiry, multi-factor options, reliable sign-out |
| NETWORK | Current TLS everywhere, certificate validation left switched on |
| PLATFORM | Minimum permissions, screenshot and clipboard protection |
| CODE | Dependency scanning, input validation, patched libraries |
| RESILIENCE | Root and jailbreak detection, tamper checks, obfuscation |
| PRIVACY | Data minimisation, transparent consent flow, deletion support |
The mistakes behind those categories appear in the OWASP Mobile Top 10. Improper credential usage ranks first: API keys compiled into the binary, service passwords shipped inside the app bundle, secrets committed to the repository. Inadequate supply chain security ranks second, which brings us straight to third-party code.
Four technical details repay attention. Never keep a session token in plain preferences; the Android security checklist shows the encrypted alternatives, and iOS offers Keychain for the same purpose. Keep every request on current TLS and never disable certificate validation, not even in a debug build that might ship. Enforce authorisation on the server, because hiding a menu item in the client protects nothing. Finally, verify that requests come from a genuine, unmodified build using something like the Play Integrity API.
Backends need two habits above all. Every endpoint must check permissions itself, since "only admins see that screen" collapses the moment someone calls the endpoint directly. And rate limiting plus anomaly alerts stop most credential-stuffing runs in their first minutes. Logging belongs here too: if you cannot answer who accessed which record and when, you cannot file an accurate breach notification later.
Third-party libraries stay the most neglected part of mobile app security. A typical app carries five to fifteen external SDKs for analytics, crash reporting, ads, chat and payments. Each one ships someone else's code, collects its own data and follows its own release schedule. Keep a written inventory, run dependency scanning on every build, and delete SDKs you stopped using. One forgotten ad library creates both a vulnerability and an undeclared data flow. Your framework choice shapes some of these trade-offs as well, which we compare in our React Native, Flutter and native guide.
What Apple and Google require before you ship
Store review adds a second layer of mobile app security enforcement, independent of any regulator. Fail it and your release simply never reaches users.
On Google Play, the mandatory step is the Data safety form. You declare every data type you collect and share, why you collect it, and whether you encrypt it in transit, and Play publishes that declaration on your store listing. Incomplete or misleading answers lead to enforcement up to removal. Sensitive permissions must serve core functionality, and the app itself has to show a prominent disclosure before requesting them.
Apple imposes two separate obligations. App privacy details cover the nutrition label on your product page, including data collected by third-party SDKs you embed. Since May 2024, apps also need privacy manifest files and a declared reason for using certain APIs, with signed SDK dependencies. The App Review Guidelines additionally require any app offering account creation to let users delete that account from inside the app.
Both stores want the same thing: honesty. For every permission you request, keep a one-sentence answer to "which feature breaks without this?" and show that sentence just before the prompt. Reviewers look hardest at location, camera, contacts and background access. Any gap between your declaration and the app's real behaviour turns into a rejection.
Our app launch checklist walks through the privacy and permission items before submission. For the wider release process see how to publish an app, and for the reasons reviewers push back most often, common app store rejection reasons.
Breach response: the 72-hour clock
Preparation pays off exactly once, on the worst day, and it is the part of mobile app security that owners skip most often. Under GDPR you notify your supervisory authority within 72 hours of becoming aware of a personal data breach, and you tell affected individuals without undue delay when the risk to them runs high. The EDPB guidance for small businesses sets out the sequence in plain language.
Within that window you should already have:
- Isolated the source and revoked every exposed key or token.
- Established which data categories and how many people the breach touched.
- Preserved your logs, which carry evidential value.
- Filed the notification with your supervisory authority.
- Told affected users plainly what happened and what you did about it.
- Written a root-cause analysis and scheduled the fix that prevents a repeat.
Three things need deciding in advance: who runs the incident, which phone numbers stay reachable outside office hours, and who holds authority to take the service offline. If backend access sits with one developer and nobody can reach them, half your 72 hours disappears into a search for a person. Keep those six steps and the contact list on a single page somewhere your team can find in a hurry, because nobody reads a forty-page runbook during an outage.
12 security questions to ask your agency
The fastest way to assess a development team's mobile app security practice is to ask specific questions and listen for hesitation.
- Which personal data does the app collect, and which feature justifies each field?
- Where and how do you store session tokens on the device?
- Does every API endpoint enforce authorisation on the server side?
- Which third-party SDKs ship in the build, and what does each one send out?
- Does dependency vulnerability scanning run automatically in CI?
- Where do you keep secrets and API keys, and who can read them?
- Which services process data outside our jurisdiction, and on what legal basis?
- Can a user delete their account in-app, and how fast does the data actually disappear?
- Will you run a penetration test before launch and hand us the report?
- If a critical vulnerability appears, how many days until a patched release, and does the contract say so?
- Are server and database backups encrypted, and have you rehearsed a restore?
- What are your notification and support duties if a breach occurs?
Write the answers down and compare vendors side by side. An experienced team handles most of these without preparation. A team that says "we'll look at it later" will most likely never add those items to the project at all. Three or four gaps are not a reason to walk away, but they are a reason to write the missing scope into the contract. Our guide on hiring a mobile app developer or agency covers the wider evaluation criteria.
Budgeting for security and when to spend
Mobile app security bolted on at the end always costs more. Decisions made during design are nearly free; the same decisions after launch mean data migration, version management and a support queue.
| Stage | Work involved | Budget impact |
|---|---|---|
| Analysis | Data inventory, minimisation decisions | Low, mostly time |
| Design | Permission flow, consent screens, deletion path | Low, inside design scope |
| Development | Encrypted storage, TLS, server-side authorisation | Moderate, folded into build time |
| Pre-launch | Penetration test plus a remediation round | Separate line item, scales with scope |
| Post-launch | Dependency updates, monitoring, log retention | Part of the monthly maintenance budget |
Market pricing guides for 2026 put a single-platform mobile penetration test in the low thousands of dollars, while a combined iOS, Android and backend API engagement typically runs into five figures. Scope drives the number far more than the vendor does, so settle two questions before comparing quotes: does the test include the backend, and does the price cover a retest after you fix the findings?
Scale the budget by data sensitivity rather than user count. An app where a hundred thousand people read articles carries less risk than one where five thousand people store medical records. When a leak would cause users concrete harm, an independent test stops being optional. Ongoing costs matter too: library updates, OS compatibility work and certificate renewals recur every year, and we break down those figures in our guide to app maintenance costs.
Building in Turkey: KVKK obligations
If your company operates in Turkey or serves Turkish users, KVKK (Law 6698) applies alongside or instead of GDPR, and its penalties climbed sharply in 2026 after a 25.49% revaluation.
| Obligation | 2026 minimum | 2026 maximum |
|---|---|---|
| Disclosure notice (Art. 10) | TRY 85,437 | TRY 1,709,200 |
| Data security measures (Art. 12) | TRY 256,357 | TRY 17,092,242 |
| Ignoring a Board decision (Art. 15) | TRY 427,263 | TRY 17,092,242 |
| Cross-border transfer notification | TRY 90,308 | TRY 1,806,377 |
Two 2026 developments hit mobile products directly. The Board's principle decision 2026/347, dated 18 February 2026 and published in the Official Gazette on 24 March 2026, rules that a disclosure notice and a consent statement cannot appear merged behind a single checkbox. A separate announcement on push notifications from January 2026 requires granular consent: a user who wants shipping alerts must not have to accept marketing messages as well. Both changes amount to a settings screen and a signup redesign, each a week of product work.
The Authority also publishes a technical and administrative measures guide that inspectors use as their reference list, and it expects notification of standard contractual clauses within five business days when you transfer data abroad through services like Firebase or AWS. Teams weighing Turkey as a development base will find the wider commercial picture in our guide to outsourcing software development to Turkey.
A practical 30-day starting plan
You do not need a formal security programme to make real progress on mobile app security. In week one, build the data inventory and delete the fields nothing depends on. In week two, list every third-party SDK, remove the unused ones, and turn on automated dependency scanning. In week three, review where tokens live on the device, confirm authorisation happens server-side, and check that certificate validation stays enabled in every build configuration.
Week four belongs to paperwork and people: separate your disclosure and consent screens, add in-app account deletion if it is missing, write the one-page incident card, and put the twelve questions above in front of your development team. None of this requires new headcount, and it closes the majority of findings a first-time audit would raise. Apps handling payments, health records or identity documents should book an independent penetration test on top; everyone else can schedule one for the next major release.
Frequently Asked Questions
Who is responsible for mobile app security, the agency or the business?
The business that owns the app carries the legal responsibility, because it acts as the data controller. The development agency acts as a processor working on your instructions. You may have recourse against the agency under your contract, but a regulator will address the fine to you.
How much can a data protection fine actually cost?
GDPR allows fines up to 4% of global annual turnover or EUR 20 million, whichever is higher. In Turkey, KVKK penalties for inadequate security measures run from TRY 256,357 to TRY 17,092,242 in 2026, and those amounts rise each year with the official revaluation rate.
Does a small app really need a penetration test?
Any app holding accounts, payments or personal data benefits from an independent test before launch. If budget is tight, narrow the scope to authentication, payment and API authorisation rather than skipping it. Testing three high-risk flows costs a fraction of a full engagement and catches most serious issues.
Can I combine my privacy notice and consent request into one checkbox?
Under GDPR consent must be freely given, specific and unambiguous, so bundling it with an information notice weakens its validity. Turkish rules now state this explicitly: principle decision 2026/347 treats merged texts behind a single approval as unlawful. Keep the two separate.
My app uses Firebase. Is that a problem?
It is not a problem, but it creates obligations. Services like Firebase process personal data outside your own infrastructure and often outside your jurisdiction, so you need a lawful transfer mechanism and an accurate entry in your store data declarations. Turkish controllers using standard contractual clauses must also notify the Authority within five business days of signing.
Is in-app account deletion mandatory?
Yes for the App Store: Apple requires any app supporting account creation to offer account deletion inside the app. Privacy law reinforces it, since users hold a right to erasure. Build the flow once and it satisfies both the store rule and the legal requirement.
What should I do first when I discover a breach?
Isolate the source and revoke exposed keys, then establish which data categories and how many people the incident affected. Your notification clock runs 72 hours from the moment you become aware, so start documenting immediately rather than waiting for a complete picture.
Which standard should I follow for mobile app security?
OWASP MASVS gives you eight categories of verifiable controls and serves as the most widely accepted mobile reference. Pair it with the OWASP Mobile Top 10 to catch the most frequent mistakes. If you operate in Turkey, add the Authority's technical and administrative measures guide to your checklist.
Security works as a habit spread across a product's life rather than a certificate you earn once. Building the data inventory, separating the consent screens and updating dependencies on a schedule take days of effort, not months, and teams that do them early avoid both store rejections and regulatory penalties.
If you want to know where your current app stands, sending the twelve questions above to your development team makes a solid start. When you are planning a new project or reviewing an existing one for security and privacy, take a look at our mobile app development service and get in touch to talk through what your product needs.
Need professional help with this?
Talk to our team about your project — same-day response, free quote.


