CompTIA
ADR-001 · Question #62
Which of the following describes the purpose of the HTTPOnly cookie attribute?
The correct answer is B. This attribute requests that clients use the cookie only for HTTP connections and not expose it to. See the full explanation below for the reasoning.
Question
Which of the following describes the purpose of the HTTPOnly cookie attribute?
Options
- AThis attribute ensures that such cookies are only sent over HTTP connections and not over SSL
- BThis attribute requests that clients use the cookie only for HTTP connections and not expose it to
- CThis attribute requests that other protocols cannot access such cookies.
- DThis attribute ensures that such cookies are only transmitted over an encrypted connection.
How the community answered
(38 responses)- A8% (3)
- B74% (28)
- C13% (5)
- D5% (2)
Community Discussion
No community discussion yet for this question.