X-FRAME-OPTIONS

Eduardo López asked on November 4, 2020 20:32

Hi everyone!

I have to add an X-FRAME-OPTIONS to exclude a page. I already added the allowfrom but now I'm having a error on the admin portal.

Could I add both? the sameorigin to not have issues with admin and also allow to the site needed? Thanks,

Recent Answers


Dmitry Bastron answered on November 5, 2020 12:19

Hi Eduardo,

I guess you are using MVC development model. If so, please check out this documentation article, it explains how this should be done (it is applicable for v12 and 13 MVC development model).

0 votesVote for this answer Mark as a Correct answer

Eduardo López answered on November 5, 2020 18:10

Sorry! I missed to say that.

In this particular case it's an old website so, I'm using portal engine and Kentico V9 :S

0 votesVote for this answer Mark as a Correct answer

Dmitry Bastron answered on November 5, 2020 18:17

Ok, for v9 there is a similar article how to do so, please have a look here.

0 votesVote for this answer Mark as a Correct answer

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