Project

General

Profile

Actions

Task #94243

closed

Introduce session cookie signature

Added by Oliver Hader almost 3 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Performance
Target version:
-
Start date:
2021-05-31
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Several performance analysis showed that AbstractUserAuthentication takes a reasonable amount of processing time (~ 5-10% of total), even if a session ID are not given or invalid. In order to reduce database invocations for invalid sessions, a corresponding HMAC signature is added to HTTP cookie values.

Additional aspects

Next steps (out of scope for this issue)

  • try avoid loading AbstractUserAuthentication in general
    • probably check cookie signature in middleware already
    • separate authentication into session-cookie vs. login-process
Actions

Also available in: Atom PDF