Dashboards & Visualizations

How to hide dynamic filter token or parameters in URL

Iswarya
Engager

How to hide the dynamic filter tokens that we are passing in URL without using js.We need this because we don't want the user to view the tokens in URL.

Labels (1)
Tags (3)
0 Karma
1 Solution

PickleRick
SplunkTrust
SplunkTrust

Question is _why_ do you want to do so? For "security" reasons? That won't fly. The user can press F12 and check what's being sent to and from the server so regardless of whether the data is sent as URL parameters or additional data in request headers - it's still there and can still be observed.

View solution in original post

PickleRick
SplunkTrust
SplunkTrust

Question is _why_ do you want to do so? For "security" reasons? That won't fly. The user can press F12 and check what's being sent to and from the server so regardless of whether the data is sent as URL parameters or additional data in request headers - it's still there and can still be observed.

ITWhisperer
SplunkTrust
SplunkTrust

Assuming you are talking about passing tokens to dashboards through the URL, this is the way it is done. Alternatives might include, having a separate dashboard for each possible combination of tokens and calling the relevant dashboard; passing an encoded version of the token which the dashboard then decodes; using a reference to the token which the dashboard then does a lookup to dereference it, etc. All of these options are complex and I have to wonder whether it is worth the effort.

Get Updates on the Splunk Community!

AppDynamics Summer Webinars

This summer, our mighty AppDynamics team is cooking up some delicious content on YouTube Live to satiate your ...

SOCin’ it to you at Splunk University

Splunk University is expanding its instructor-led learning portfolio with dedicated Security tracks at .conf25 ...

Credit Card Data Protection & PCI Compliance with Splunk Edge Processor

Organizations handling credit card transactions know that PCI DSS compliance is both critical and complex. The ...