Skip to content

feat: implement CSRF protection and rate limiting for maintenance req… - #82

Open
AlyTamer wants to merge 1 commit into
Advanced-Computer-Lab-2026:mainfrom
AlyTamer:main
Open

AlyTamer wants to merge 1 commit into
Advanced-Computer-Lab-2026:mainfrom
AlyTamer:main

Conversation

@AlyTamer

Copy link
Copy Markdown

…uests

  • Add CSRF token generation and validation middleware using csrf-csrf package.
  • Introduce rate limiting for maintenance requests to prevent DoS attacks.
  • Update client API to include CSRF token in headers for state-changing requests.
  • Create tests for CSRF protection and rate limiting to ensure security measures are effective.
  • Configure Jest for testing both server and client environments.
  • Add babel configuration for ESM support in tests.

…uests

- Add CSRF token generation and validation middleware using csrf-csrf package.
- Introduce rate limiting for maintenance requests to prevent DoS attacks.
- Update client API to include CSRF token in headers for state-changing requests.
- Create tests for CSRF protection and rate limiting to ensure security measures are effective.
- Configure Jest for testing both server and client environments.
- Add babel configuration for ESM support in tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant