The web application that Saria's development team is working on needs to provide secure session management that can prevent hijacking of sessions using the cookies that the application relies on. Which of the following techniques would be the best for her to recommend to prevent this?
A. Set the Secure attribute for the cookies, thus forcing TLS.
B. Set the Domain cookie attribute to example.com to limit cookie access to servers in the same domain.
C. Set the Expires cookie attribute to less than a week.
D. Set the HTTPOnly attribute to require only unencrypted sessions.
Answer: A. Set the Secure attribute for the cookies, thus forcing TLS.
Computer Science & Information Technology
You might also like to view...
The ________ operator is applied when two criteria are placed on the same row in the query design grid
A) Or logical B) Group By C) And logical D) Avg
Computer Science & Information Technology
Which of the following is NOT deemed a critical infrastructure by the Department of Homeland Security?
A) Forestry services B) Transportation departments C) Power companies D) Energy systems
Computer Science & Information Technology