You are viewing limited content. For full access, please sign in.

Question

Question

PDF iframe - Blocked by Content Security Policy

asked on June 3, 2020

Client started experiencing an issue with PDF iframes they have embedded in one of their Forms.  The client says they have made no changes.  My guess is that the browsers were updated.  The iframe displays a message stating "Blocked by Content Security Policy."  This occurs across all browsers and clearing cache/cookies has no effect.  Developer's tools shows "Refused to frame because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self'

 

I imagine this is more outside of Laserfiche, but was curious if any other users had run into it and perhaps found a resolution, thanks in advance for any helpful advice! 

0 0

Answer

SELECTED ANSWER
replied on June 4, 2020

Hi Mike,

This is actually a change on the website's side. They have set their policy to not allow their site to be embedded in an iframe. Unless the iframe points to another of your Laserfiche products, there are only some complex ways around this that you'd have to read up on yourself.

1 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.