How to disable new X-FRAM-OPTIONS security header

Dear Support


After upgrade to Jira Software 7.6.1 i found out, that i can't embedd Jira sites on our Confluence page anymore via iframe. I found out that this is a new security feature (JRASERVER-25143). In this articel it's described, that one can disable this protection by setting the system property to true

There's also a site which should describe how to do the Setting properties and options. But this site describes how you set Java Options for the service. When i inserted the property "" in the Java Options the service won't start anymore. So it has to be done somehow differently. Hope you can help!


Kind regards



2 answers

0 vote

Hi Ueli,

I get the same behavior in JIRA, however, according to Confluence page does not display in an iframe the changes are supposed to be done on the Confluence side:

Resolution 1

Disable clickjacking protection from Confluence

  1. Shut down Confluence

  2. If you're running Linux:
    1. In <confluence_install>/bin/ add the line:
  3. If you're running Windows from the .bat file:
    1. In <confluence_install>/bin/setenv.bat add the line:

      set %CATALINA_OPTS%
  4. If you're running Windows as a service:
    1. If you're starting Confluence as a service, then you'll need to add the following startup options to the Java tab in the service properties:
  5. Restart Confluence

(info) See Configuring System Properties for more on setting System Properties.

The Page will now appear in the iframe.

Resolution 2

If the resolution 1 does not work then there is a possibility that in CONFLUENCE_INSTALL/conf/web.xml you have enabled HTTP Header Security Filter in Tomcat. 

  1. Shut down Confluence
  2. Open CONFLUENCE_INSTALL/conf/web.xml and find antiClickJackingOption
  3. Uncomment the parameter and change the value from DENY to SAMEORIGIN
  4. Restart Confluence

Please see Apache Tomcat 8 Configuration ReferenceHTTP Header Security Filter for more information on the parameters

Try the steps above and let me know the results.



I also tried the following options, but none worked:

  1. In

  2. In

  3. In web.xml:
          <filter-name>HTTP Header Security Filter</filter-name>

So, this is still unresolved...

Hi Aurelian,

Those look like the arguments for JIRA.  You need to configure this on the Confluence side.  See Confluence page does not display in an iframe for the correct arguments for Confluence. 

Additionally, take a look at the very last comment in the post titled How to remove or modify Confluence X-Frame-Options response header for another suggestion.



Hi, Branden.

My use-case is a little different: I actually need to embed my own JIRA in a normal webpage :).

(No Confluence envolved)


Hi Aurelian


To make work what you want you have to set the propertiy

"" to your JIRA Installation. This worked for me.


Cheers, Uli

Thank you very much, Ueli.

Indeed, the correct solution was to edit as follows:


The Attlassian Team should also update the Setting properties and options page accordingly.

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Feb 15, 2018 in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

1,222 views 6 19
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot