Skip to content

Commit b87cc81

Browse files
committed
[Security] Mention the SensitiveParameter attribute
1 parent cf645d4 commit b87cc81

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

security.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,12 @@ You can also manually hash a password by running:
474474
Read more about all available hashers and password migration in
475475
:doc:`security/passwords`.
476476

477+
.. versionadded:: 6.2
478+
479+
Starting from Symfony 6.2, the `SensitiveParameter PHP attribute`_ is
480+
applied to all plain passwords and sensitive tokens so they don't appear
481+
in log messages or stack traces.
482+
477483
.. _firewalls-authentication:
478484
.. _a-authentication-firewalls:
479485

@@ -2658,3 +2664,4 @@ Authorization (Denying Access)
26582664
.. _`SymfonyCastsVerifyEmailBundle`: https://github.com/symfonycasts/verify-email-bundle
26592665
.. _`HTTP Basic authentication`: https://en.wikipedia.org/wiki/Basic_access_authentication
26602666
.. _`Login CSRF attacks`: https://en.wikipedia.org/wiki/Cross-site_request_forgery#Forging_login_requests
2667+
.. _`SensitiveParameter PHP attribute`: https://wiki.php.net/rfc/redact_parameters_in_back_traces

0 commit comments

Comments
 (0)