Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Message: Content security policy prevented page from loading in this way...meaning? what to do?

more options

I am trying to get into my records on our hospital site. I am in the portal, but when I click on url to records I get this message:

Blocked by Content Security Policy

An error occurred during a connection to smga.patient.che.org.

Firefox prevented this page from loading in this way because the page has a content security policy that disallows it.

I am trying to get into my records on our hospital site. I am in the portal, but when I click on url to records I get this message: Blocked by Content Security Policy An error occurred during a connection to smga.patient.che.org. Firefox prevented this page from loading in this way because the page has a content security policy that disallows it.

All Replies (1)

more options

A Content Security Policy, or CSP, is a set of rules the website sends about its content. They can include rules like "do not let scripts from other servers load into this page" or "do not let this page be embedded into another page." I don't think we have enough information to know exactly what's going on.

You should check with your IT first on whether they know what's going on.

The following might not be sensible with your portal application, but I'll mention it anyway since it's what I would try myself in your situation.

You could try these options:

(A) Direct the link to open in a new tab (or new window)

Try right-clicking that link, and choosing Open Link in New Tab (or Open Link in New Window) from the context menu.

Will the content display in a separate tab/window?

(B) Pop framed content out into a new tab

If there is a problem area in the page, right-click it and look for "This Frame" on the menu. If you see "This Frame", click that (or hover over it) to expand the fly-out sub-menu. On that sub-menu, choose Open Frame in New Tab.

Firefox will then try to load the address of the embedded (framed) content in a new tab. This might work, or the content might still say it can't be viewed that way.