medium
Single Answer
0

Akio has set the Secure Cookie attribute as part of her web application’s process for sending new cookies to users. What does this attribute do?

Answer Options

A

It encrypts the cookie’s content when it is stored.

B

It stores the cookie on the server instead of on the remove device.

C

It removes the cookie after it has been used.

D

It requires that the cookie be sent only via HTTPS.

Correct Answer: D

Explanation

The Secure Cookie attribute is intended to keep cookies secure in transit. That means that it requires secure cookies be sent only via HTTPS. It does not encrypt the cookie at rest, store it on the server instead of the remote system, nor does it remove the cookie after it has been used.