ISC2 Certified Secure Software Lifecycle Professional (CSSLP) Practice Question
Your team is developing a cross-platform mobile health application that must cache an OAuth 2.0 refresh token so users remain logged in after device reboots. To minimize the risk that malware with normal user privileges on a rooted or jail-broken phone can steal the token, which storage approach is MOST appropriate?
Store the refresh token in the platform's secure credential store (Android Keystore or iOS Keychain) protected by hardware-backed encryption and biometric unlock.
Split the token, save half in SharedPreferences/UserDefaults and fetch the other half from the server at each launch.
Encrypt the refresh token with an app-specific key and save it in the app's internal storage directory.
Embed an obfuscated copy of the refresh token inside the application package to prevent static analysis.
The operating systems of modern smartphones provide dedicated credential stores (Android Keystore, iOS Keychain) that keep secrets in a hardware-backed secure element and restrict access to the owning app. Even if the device is rooted or jail-broken, these stores enforce additional protections such as hardware-level encryption and optional biometric or PIN gating. Storing the token only in the app's private directory or preferences leaves it exposed once file-system access is gained, and hard-coding or obfuscating a token in the binary does not satisfy the need for per-user persistence. Splitting the token still leaves a recoverable fragment on the device and adds reliability issues. Therefore, using the platform credential store best meets the requirement.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is an OAuth 2.0 refresh token?
Open an interactive chat with Bash
What is the Android Keystore/iOS Keychain, and how does it add security?
Open an interactive chat with Bash
Why is hardware-backed encryption more secure than software-based encryption?
Open an interactive chat with Bash
What is OAuth 2.0 and how does a refresh token work?
Open an interactive chat with Bash
What is the Android Keystore and iOS Keychain?
Open an interactive chat with Bash
Why is storing tokens in app directories or obfuscating them insecure?
Open an interactive chat with Bash
ISC2 Certified Secure Software Lifecycle Professional (CSSLP)
Secure Software Architecture and Design
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .