3x-ui/web/translation
Farhad H. P. Shirvan 10ebc6cbdc
Implement CSRF protection and security hardening across the application (#4179)
* Implement CSRF protection and security hardening across the application

- Added CSRF token handling in axios requests and HTML templates.
- Introduced CSRF middleware to validate tokens for unsafe HTTP methods.
- Implemented login limiter to prevent brute-force attacks.
- Enhanced security headers in middleware for improved response security.
- Updated login notification to include safe metadata without passwords.
- Added tests for CSRF middleware and login limiter functionality.

* fix
2026-05-07 23:36:11 +02:00
..
translate.ar_EG.toml Implement CSRF protection and security hardening across the application (#4179) 2026-05-07 23:36:11 +02:00
translate.en_US.toml Implement CSRF protection and security hardening across the application (#4179) 2026-05-07 23:36:11 +02:00
translate.es_ES.toml Implement CSRF protection and security hardening across the application (#4179) 2026-05-07 23:36:11 +02:00
translate.fa_IR.toml Implement CSRF protection and security hardening across the application (#4179) 2026-05-07 23:36:11 +02:00
translate.id_ID.toml Implement CSRF protection and security hardening across the application (#4179) 2026-05-07 23:36:11 +02:00
translate.ja_JP.toml Implement CSRF protection and security hardening across the application (#4179) 2026-05-07 23:36:11 +02:00
translate.pt_BR.toml Implement CSRF protection and security hardening across the application (#4179) 2026-05-07 23:36:11 +02:00
translate.ru_RU.toml Implement CSRF protection and security hardening across the application (#4179) 2026-05-07 23:36:11 +02:00
translate.tr_TR.toml Implement CSRF protection and security hardening across the application (#4179) 2026-05-07 23:36:11 +02:00
translate.uk_UA.toml Implement CSRF protection and security hardening across the application (#4179) 2026-05-07 23:36:11 +02:00
translate.vi_VN.toml Implement CSRF protection and security hardening across the application (#4179) 2026-05-07 23:36:11 +02:00
translate.zh_CN.toml Implement CSRF protection and security hardening across the application (#4179) 2026-05-07 23:36:11 +02:00
translate.zh_TW.toml Implement CSRF protection and security hardening across the application (#4179) 2026-05-07 23:36:11 +02:00