CompTIA CASP+ (CAS-003) — Question 167
A security architect has been assigned to a new digital transformation program. The objectives are to provide better capabilities to customers and reduce costs.
The program has highlighted the following requirements:
1. Long-lived sessions are required, as users do not log in very often.
2. The solution has multiple SPs, which include mobile and web applications.
3. A centralized IdP is utilized for all customer digital channels.
4. The applications provide different functionality types such as forums and customer portals.
5. The user experience needs to be the same across both mobile and web-based applications.
Which of the following would BEST improve security while meeting these requirements?
Answer options
- A. Social login to IdP, securely store the session cookies, and implement one-time passwords sent to the mobile device
- B. Certificate-based authentication to IdP, securely store access tokens, and implement secure push notifications.
- C. Username and password authentication to IdP, securely store refresh tokens, and implement context-aware authentication.
- D. Username and password authentication to SP, securely store Java web tokens, and implement SMS OTPs.
Correct answer: A
Explanation
Option A is the best choice as it combines social login for user convenience, secure storage of session cookies for safety, and the use of one-time passwords to enhance security for infrequent logins. Other options either do not address the requirement for long-lived sessions effectively or introduce complications that do not align with the need for a consistent user experience across platforms.