Title: iFrame protection
Last modified: March 18, 2026

---

# iFrame protection

 *  Resolved [vadimm5](https://wordpress.org/support/users/vadimm5/)
 * (@vadimm5)
 * [2 months, 2 weeks ago](https://wordpress.org/support/topic/iframe-protection-3/)
 * Hello. We have iFrame protection enabled in the File Security section, but it
   doesn’t seem to be working. The “sameorigin” value isn’t listed anywhere. Could
   you please take a look and help me with this issue? Thank you.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fiframe-protection-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [hjogiupdraftplus](https://wordpress.org/support/users/hjogiupdraftplus/)
 * (@hjogiupdraftplus)
 * [2 months, 2 weeks ago](https://wordpress.org/support/topic/iframe-protection-3/#post-18856909)
 * Hi [@vadimm5](https://wordpress.org/support/users/vadimm5/),
 * Do you have server side caching enabled? If I check the url have 304 Not modified
   response code. and do not have response header below so something seems wrong.
 * x-frame-options = SAMEORIGIN
 * Can you please clear server cache and check?
 * Regards
 *  Thread Starter [vadimm5](https://wordpress.org/support/users/vadimm5/)
 * (@vadimm5)
 * [2 months, 2 weeks ago](https://wordpress.org/support/topic/iframe-protection-3/#post-18857095)
 * We have the W3 Total Cache plugin installed (we also tested it with the WP-Optimize
   plugin). When we disable the caching plugin, the x-frame-options = SAMEORIGIN
   header appears when we check the site’s server response. With the caching plugin
   enabled, this response doesn’t appear.
 *  Plugin Support [hjogiupdraftplus](https://wordpress.org/support/users/hjogiupdraftplus/)
 * (@hjogiupdraftplus)
 * [2 months, 2 weeks ago](https://wordpress.org/support/topic/iframe-protection-3/#post-18859111)
 * Hi [@vadimm5](https://wordpress.org/support/users/vadimm5/)
 * Thanks for the information. I have created an internal ticket to check this issue.
 * Regards
 *  Thread Starter [vadimm5](https://wordpress.org/support/users/vadimm5/)
 * (@vadimm5)
 * [2 months, 2 weeks ago](https://wordpress.org/support/topic/iframe-protection-3/#post-18859188)
 * The problem has been resolved. The ticket can be closed. Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fiframe-protection-3%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/all-in-one-wp-security-and-firewall/assets/icon-256x256.
   png?rev=2798307)
 * [All-In-One Security (AIOS) – Security and Firewall](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [vadimm5](https://wordpress.org/support/users/vadimm5/)
 * Last activity: [2 months, 2 weeks ago](https://wordpress.org/support/topic/iframe-protection-3/#post-18859188)
 * Status: resolved