Found this content helpful? Log in or sign up to leave a like!

iframe tags not displaying in pages: "Access to this page is limited to authorized users. You do not currently have permission to view this page."

Jump to solution
SofiK90
Community Member

Uploaded an Articulate html zip onto the Files section in the Course in Canvas. On the page, I used the rich text editor to input the iframe tags pointing to the html file which is uploaded. I have tested the pages multiple times and it was all able to be viewed and played without issues.

However, a few of our users have reported "Access to this page is limited to authorized users. You do not currently have permission to view this page." when visiting the page.

The page was able to be displayed as I was able to see other words that I have added using the RTE, but the iframe portion appears to be 'locked' with the Access Denied message. The strange thing is that the users are able to progress to the next page, despite not being able to view the iframe content.


Below was the iframe tag that was added via the raw HTML editor

<p><iframe src="https://universityname.instructure.com/courses/1173/files/66734/download" width="960" height="540" loading="lazy" data-api-endpoint="https://universityname.instructure.com/api/v1/courses/1173/files/66734" data-api-returntype="File"></iframe></p>

Labels (1)
0 Likes
1 Solution
chriscas
Community Coach
Community Coach

Hi @SofiK90,

Generally, I'd say that putting HTML content into files and expecting that area to work like a webserver is a gray area at best for Canvas.  Sometimes things work, sometimes they don't...  Putting HTML content there has never been documented/supported functionality as far as I know, so when things don't work there's usually not much you can do to get support.  I think the best course of action if you have html content you want to server in iframes in Canvas is to host that content on a more traditional webserver-type platform.

This may not be the info you wanted to hear, but this seems to be the reality of the situation at this time.

-Chris

View solution in original post

0 Likes