X-Frame-Options ALLOW-FROM a specific site allows from all X-Frame-Options ALLOW-FROM a specific site allows from all google-chrome google-chrome

X-Frame-Options ALLOW-FROM a specific site allows from all


For those looking for a definitive answer: it's not implemented in webkit, but does work in Firefox reportedly as of version 18.0. The following ruby syntax works for me in Firefox 20.0 on OSX:

response.headers["X-Frame-Options"] = "Allow-From http://www.website.com"