ISC2 Certified Secure Software Lifecycle Professional (CSSLP) Practice Question
During a code review you find that the API gateway plans to cache a user's authorization matrix in server memory for the entire eight-hour session to reduce database look-ups. Which design change would best uphold the complete mediation principle while preserving performance?
Continue caching the user's roles in RAM but purge the cache only when the user logs out or after eight hours.
Move authorization checks to client-side JavaScript executed after the initial login handshake.
Replace the long-lived server-side cache with short-lived, signed access tokens that the gateway must validate on every request.
Authorize write requests on each call but allow read-only requests once the session is established.
Complete mediation requires that every request be re-authorised so stale or stolen credentials cannot be reused. The best way to satisfy this is to use short-lived, cryptographically bound access tokens (such as signed JWTs or opaque tokens validated by the authorization server) that are checked on every call; even though information is included in the token, its brief lifetime and mandatory validation ensure each access is freshly authorised. Simply keeping role data in memory for hours, moving checks to client-side code, or skipping read-only operations all violate complete mediation because they rely on long-lived or easily manipulated caches that attackers could exploit.
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 the complete mediation principle?
Open an interactive chat with Bash
What are signed access tokens and how do they work?
Open an interactive chat with Bash
Why is client-side authorization considered insecure?
Open an interactive chat with Bash
ISC2 Certified Secure Software Lifecycle Professional (CSSLP)
Secure Software Concepts
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 .