In a web application based on MVV MVV and authorization model, we recently switched to Spring MVC. As part of this step, we are also considering moving from a locally generated GUID that is passed with each request for a cookie-based session identifier.
At first glance, it seems that in our case this will be a big drawback, since the standard JSESSION / HttpSession seems to be the root of all security threats:
- Session commit (in an existing code session, it is created only after a successful login, so we never need to cancel () the sessions.
- A CSRF session is never transmitted as a cookie, so this is never a risk (and god, this is a problem that needs to be dealt with, since there is no real structure or common solution, HDIV and CSRFGuard were checked there).
- Testing Usage - QA can easily have multiple users with multiple roles connecting to the same server, which is not possible with JSESSION.
- As a result of creating and canceling an HTTPSession in various containers (Weblogic, JBOSS, and Websphere)
- Inconsistent JSession processing when switching between HTTP to HTTPS.
So, besides the obvious benefit of being standard, any clues as to why I want to switch to the JSESSION route?
source share