Recommended IIS security headers for admin and load balance front end site

Francis Carroll asked on May 18, 2023 09:21


We have a B grading on our websites on We are missing the Content-Security-Policy and X-Frame-Options. We tried adding X-Frame-Options to the front end before and this broke the admin and wouldnt allow content users to add content.

Is there any recommendations on what ones should be added?

Recent Answers

Brenden Kehren answered on May 19, 2023 16:41

When adding the headers in the MVC side of things, you might want to check to see if you're editing or in the live site. Depending on when and where you're adding this code, will make a difference how the check is done.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.