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.
You might also like to view...
When a subclass constructor calls its superclass constructor, what happens if the superclass’s constructor does not assign a value to an instance variable?
a. A syntax error occurs. b. A compile-time error occurs. c. A run-time error occurs. d. The program compiles and runs because the instance variables are initialized to their default values.
In an ERD, the ________ approach will list the tables in a database as rectangles with lines and symbols representing the types of relationships between them
A) crow's feet B) visual C) basic shapes D) symbolic
A clean room is a place to store RAM and hard drives
Indicate whether the statement is true or false
________ computers, such as UNIVAC, can be characterized by their use of vacuum tubes to store individual bits of data.
A. First-generation B. Second-generation C. Third-generation D. None of the above