GIAC
GWAPT · Question #105
GWAPT Question #105: Real Exam Question with Answer & Explanation
Sign in or unlock GWAPT to reveal the answer and full explanation for question #105. The question stem and answer options stay visible for context.
Question
A penetration test reveals that session cookies do not have the HttpOnly attribute set. What is the recommended mitigation?
Options
- AAdd the HttpOnly attribute to all session cookies
- BAdd the HttpOnly attribute to all session cookies
- CStore session data in local storage instead
- DSet long expiration times for session cookies
Unlock GWAPT to see the answer
You've previewed enough free GWAPT questions. Unlock GWAPT for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.