Skip to content

mobile security

AI security interview questions tagged mobile security, across every topic.

25 questions · 5 unlocked for you

Concepts behind "mobile security"

Explanations of the mechanisms these questions rely on.

Foundational
Mobile Security
The Mobile Platform Security ModelAndroid and iOS both isolate each app in a sandbox, identify apps by their signatures, gate sensitive resources behind permissions or entitlements, and offer hardware-backed key storage. Android isolates apps with per-app Linux user IDs and SELinux and allows sideloading and vendor-controlled updates; iOS uses a kernel-enforced sandbox profile, mandatory code signing and central distribution. Both models protect apps from other apps, not from a device owner with root or a jailbreak, which is why mobile security designs keep authoritative decisions on the server.
Foundational
Mobile Security
Protecting Data on Mobile DevicesMobile apps protect data by storing as little as possible, keeping keys in the Android Keystore or iOS Keychain and Secure Enclave, encrypting what must persist with those keys, and choosing protection classes that keep secrets out of backups and inaccessible while the device is locked. Hardware backing stops keys being copied off the device, but not their use by a compromised app. Most real leaks bypass storage entirely: logs, crash reports, analytics SDKs, backups, app-switcher screenshots, the clipboard, keyboard caches, URLs and notifications.
Core
Mobile SecuritySign in
Mobile IPC, Deep Links and WebViews as Attack SurfaceMobile apps expose entry points that other apps and web pages can reach: Android activities, services, receivers and content providers; deep links and custom URL schemes on both platforms; and WebViews with JavaScript bridges into native code. Each is an API with an untrusted caller. Typical bugs are missing authorization on exported components, intent redirection where the app forwards attacker intents with its own identity, content-provider path traversal, custom schemes claimed by malicious apps to steal OAuth codes, deep links that perform actions without confirmation, and WebView bridges reachable from untrusted pages. Fixes are the API-security basics applied on the phone: minimal exposure, verified identity, validated input and explicit confirmation.
Core
Mobile SecuritySign in
Signing In From a Mobile App: OAuth for Native AppsA mobile app cannot keep a client secret, so OAuth treats it as a public client. RFC 8252 sets the pattern: run the login in the system browser or a platform authentication session, never an embedded WebView; receive the code on a redirect the OS verifies, such as an App Link or universal link; and protect the code with PKCE using S256. RFC 9700 adds that public clients must use PKCE and that their refresh tokens must be rotated or bound to a key, which on a phone can live in secure hardware.
Core
Mobile SecuritySign in
Trusting a Mobile Client: Pinning, Tamper Detection and AttestationMobile client controls have different trust assumptions. Pinning narrows accepted TLS keys on an uncompromised client; root detection and anti-tamper checks raise effort but can be modified by an attacker who controls the app. Play Integrity and App Attest provide evidence that the server can verify and bind to an action, using different protocols. Good designs check request binding and freshness, combine attestation with fraud signals, and enforce authorization on the server. Hardware-backed keys and platform isolation remain useful within their own threat models.
Advanced
Mobile Security🔒 Premium
WebView Security: A Browser With Your App's IdentityA WebView is a browser engine inside an app, with no address bar and whatever powers the app adds. Most WebView bugs come from three choices: a JavaScript bridge exposed to every frame, file and content access that let a page read local data, and loading content the app does not control, such as deep-link URLs and model-generated HTML. The defences: separate trusted and untrusted content, give local files a real origin, use origin-restricted message channels, and send external links and login to the system browser.