Forum Discussion
swo0sh_gt_13163
Altostratus
Aug 30, 2015Clickjacking protection using X-FRAME-OPTIONS: ALLOW-FROM URI
Hello Folks,
Can anyone help by sharing a snippet of iRule by inserting XFRAME-OPTIONS:ALLOW-FROM (single / multiple URI)?
The requirement is to allow certain Frames from different applicat...
Zeeshan_Ahmad_1
Nimbostratus
Dec 10, 2015Hi Darshan,
Note that in X-Frame-Options header Allow-From token does not support wildcards or listing of multiple origins and it is not supported by couple of browsers as well, you can use the below irule where you can mention the URL from where you want to make it accessible
when HTTP_RESPONSE {
HTTP::header replace X-Frame-Options "ALLOW-FROM http://www.mysite.com"
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects