how i restricting my site to use in iframe on other domains.
Please help me...
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Scott LysleRank #49 · 31K reputationPosted Apr 16, 2014, 12:57 PM EDT
In the global.asax; add the following line to the begin request method: HttpContext.Current.Response.AddHeader("x-frame-options", "DENY");
This is intended to prevent clickjacking
Priti KumariRank #414 · 6K reputationPosted Apr 16, 2014, 8:38 PM EDT