Find answers, ask questions, and connect with our
community around the world.

Home Forums AWS AWS Certified DevOps Engineer Professional Setting security headers with CloudFront Request and Response Behaviors Reply To: Setting security headers with CloudFront Request and Response Behaviors

  • Viktorrr

    Member
    February 6, 2025 at 10:24 pm

    Hello Neil-TutorialsDojo,

    Thanks for the answer, but in this case, the explanation “custom Request and Response Behavior in CloudFront is not enough to automatically add the required security headers to the HTTP response” is misleading. We can use Cache Behavior and AWS provides documentation on how to do it.

    Lambda@Edge might be a better solution, although the only hint that advanced security is more important than implementation efforts, costs, or latency is “sensitive financial data”.

    Regards,
    Viktorrr

Skip to content