exam questions

Exam 312-96 All Questions

View all questions & answers for the 312-96 exam

Exam 312-96 topic 1 question 17 discussion

Actual exam question from ECCouncil's 312-96
Question #: 17
Topic #: 1
[All 312-96 Questions]

Which of the following Spring Security Framework configuration setting will ensure the protection from session fixation attacks by not allowing authenticated user to login again?

  • A. session-fixation-protection ="newSessionID"
  • B. session-fixation-protection ="migrateSession"
  • C. session-fixation-protection ="enabled"
  • D. session-fixation-protection ="protectSession"
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
yawmumma
8 months, 1 week ago
In Spring Security, the configuration setting that helps protect against session fixation attacks by migrating the session after the user is authenticated is migrateSession. When this setting is used, Spring Security will ensure that a new session is created upon authentication, thereby invalidating the old session and mitigating the risk of session fixation attacks. So the correct answer is: B. session-fixation-protection ="migrateSession" Here's how you might use it in XML-based Spring Security configuration: <session-management session-fixation-protection="migrateSession" /> The other options are not standard settings for session fixation protection in Spring Security: newSessionID: This is not a standard Spring Security setting for session fixation protection. enabled: While enabling session management is important, this specific value is not used for session fixation protection in Spring Security. protectSession: This is not a standard Spring Security setting for session fixation protection. Therefore, migrateSession is the correct choice for protecting against session fixation attacks by ensuring that authenticated users get a new session.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago