1
Answer

Missing Security Response headers

Hi,

status code - 500 internal server error this time header not showing.

we have implemented logic in web.config and code level in asp.net c#.

·                X-Frame Option: Deny.

·                X-XSS Protection: 1; mode=block,

·                X-Content Type-Options: Nosniff,

·                Strict-Transport-Security: max-age=31536000; includeSubDomains; preload

·                Content-Security-Policy: script-src 'self'; default-src ‘self’; object-src 'none'

·                Referrer-Policy: strict-origin-when-cross-origin

·                Cache-Control: no-store, no-cache, must-revalidate

kindly help me.

Answers (1)