Application security blog
Practical guides to website, API and mobile application security: how to identify risks, verify them and fix their causes.
How to protect sensitive-action confirmation in Android and test the interface
Understand the limitations of FLAG_SECURE, the purpose of HIDE_OVERLAY_WINDOWS, and a safe plan for testing a sensitive Android screen with your own test data.
Read articleHow to restrict a session cookie to its intended host and keep it off sibling subdomains
Make a session cookie host-only: omit Domain, use the __Host- prefix, and verify where it is sent using test hosts you own.
Read articleWhich Android App Screens to Hide in Screenshots and How to Check
How to identify sensitive Android app screens, apply masking and FLAG_SECURE, and check screenshots and the recent apps list.
Read articleDesigning MFA Replacement So an Active Session Is Not Enough
How to separate MFA replacement from a regular session: reauthentication, account recovery, notifications, and safe testing with dedicated test accounts.
Read articleKeystore Key Unavailable: Testing Error Handling and Recovery Plans
How to distinguish Keystore access errors, define recovery rules for local data, and test the flow without deleting user records.
Read articleHow to Upgrade Password Hashes at Login and Handle Inactive Accounts
How to increase hashing cost after a successful login, choose parameters on your own servers, and handle old hashes for users who have not signed in for a long time.
Read articleNested Intents in Android: Allow Only Intended Actions
How to validate a nested Intent’s destination, sanitize data and restrict URI access: remediation priorities and a verification plan using your own test data.
Read articleHow to Set a GraphQL Resource Budget While Preserving Essential Workflows
How to choose GraphQL depth, object count and query cost limits, test them with your own synthetic data, and preserve essential product workflows.
Read articleHow to Roll Out CSP: What to Check in Report-Only Before Enforcement
Check CSP headers, report delivery, network dependencies, nonces and hashes in Report-Only, and prepare for a justified move to an enforced policy.
Read articleHow to Limit PendingIntent Permissions for an Android Notification Button
Define a notification button’s limits: set action, component and package, choose PendingIntent flags, and verify the result using your own test data.
Read articleHow to Design Password Resets: Link Expiration, Single Use, and Sessions
How to define reset link expiration, enforce single-use tokens, and decide what happens to sessions after a password reset. A test plan using fictional data.
Read articleAndroid FileProvider: share a document while limiting access
Configure FileProvider directories, grant temporary read access and test file sharing with another Android app. A fictional example and a release verification plan.
Read articleWebhook security: accept an event without performing the action twice
Verify webhook signatures, persist events before returning 2xx and handle redelivery safely. A fictional example, failure analysis and tests for your own service.
Read articleAndroid WebView: which pages should open inside your app?
Review URLs, navigation, JavaScript bridges and local help content in Android WebView. A practical plan for your own release build and test pages.
Read articleConfiguring CORS: who can read an API response and where authorization belongs
Configure CORS origins, cookies and caching, separate browser restrictions from API permissions, and verify the result in your own test environment.
Read articleApp Transport Security in iOS: review exceptions before release
Review ATS in a release iOS build: the final Info.plist, URLSession, WebView, domain exceptions and controlled network tests in your own environment.
Read articleLogging out: revoke the session and verify the result
Test logout in two browsers: server-side session revocation, access and refresh tokens, cookie cleanup, and the difference between cached pages and live access.
Read articleAndroid permissions: remove unnecessary access and test denial
Review release Android permissions, trace declarations in the merged manifest, consider system alternatives, and test denied or revoked access.
Read articleAPI logs and errors: diagnose failures without leaking tokens or data
Connect API failures to useful logs, keep secrets out of responses and logging pipelines, and test the complete diagnostic path in your own environment.
Read articleAndroid backups: what gets restored and how to check privacy
Learn which Android app data enters backups, how cloud restore differs from D2D transfer, and how to test restoration on your own development devices.
Read article