Setting a cookie to be HttpOnly results in (Choose two)

A cookie may be set to be an HttpOnly cookie. Setting a cookie to be HttpOnly results in (Choose two)

A cookie may be set to be an HttpOnly cookie. Setting a cookie to be HttpOnly results in (Choose two)

A.
Client to not expose the cookie to client side scripting code

B.
Does not work with https protocol

C.
prevent certain types of cross-site scripting attacks

D.
There is no such thing as an HttpOnly cookie

Explanation:
Reference:
http://docs.oracle.com/javaee/6/api/javax/servlet/http/Cookie.html



Leave a Reply 2

Your email address will not be published. Required fields are marked *


Ouadie

Ouadie

The Correct answer is : A C

Allan Santos

Allan Santos

A and C