nerdexam
CompTIA

ADR-001 · Question #28

Which of the following attempts to prevent Javascript from accessing a session cookie in a mobile browser?

The correct answer is B. HTTPonly attribute. See the full explanation below for the reasoning.

Question

Which of the following attempts to prevent Javascript from accessing a session cookie in a mobile browser?

Options

  • ABoth HTTPonly and Secure attributes
  • BHTTPonly attribute
  • CCookie permission settings
  • DUse of super cookie

How the community answered

(22 responses)
  • A
    5% (1)
  • B
    77% (17)
  • C
    14% (3)
  • D
    5% (1)

Community Discussion

No community discussion yet for this question.

Full ADR-001 Practice