Dashboards & Visualizations

X-Frame-Options - remove deny, set sameorigin

darioapis
Explorer

Hi, my problem is explained in the heading. I need to remove X-Frame-Options: deny from the HTTP header and change it to sameorigin. Possible it is in web.conf. Any help is advisable.

Tags (1)
0 Karma
1 Solution

chrisyounger
SplunkTrust
SplunkTrust

You can't set it to sameorigin. You can only remove the header all together as you have seen by changing web.conf and setting x_frame_options_sameorigin = false. This will mean you can then embed Splunk in a frame if you want.

If it is important that you set the header to be sameorigin then you would need to use something like a nginx proxy over the top of Splunk. (fairly easy to do)

View solution in original post

chrisyounger
SplunkTrust
SplunkTrust

You can't set it to sameorigin. You can only remove the header all together as you have seen by changing web.conf and setting x_frame_options_sameorigin = false. This will mean you can then embed Splunk in a frame if you want.

If it is important that you set the header to be sameorigin then you would need to use something like a nginx proxy over the top of Splunk. (fairly easy to do)

Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...