CSRF Implementation for Cloudfront and Lambda

0

Hello experts, We have a backend that is lambda and UI(cloudfront) interacts with it via API Gateway. What is the best way to implement CSRF protection here?

1 Antwort
0

Hello.

AWS WAF can be configured for API Gateway and CloudFront.
So I think it is possible to add CSRF protection with AWS WAF.
https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-control-access-aws-waf.html

profile picture
EXPERTE
beantwortet vor 8 Monaten
  • I need help with implementation and validation of CSRF token. I am aware of WAF but to enable it my application must be generating and injecting CSRF token, right?

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen