AnsweredAssumed Answered

Embedding html file gets unauthorized error a day later

Question asked by Vincent Beaver on Dec 21, 2018
Latest reply on Jan 6, 2019 by Peter Love

I am trying to embed an html file so that links can open in a new window. I have an html file uploaded to my “files”, and what I do is I preview the file, view frame source, copy the url, and embed that url in an iframe on a new page set to the front page.

 

Initially, it works great but then the next day I came back to it and got the following error message: “UNAUTHORIZED: Access to this page is limited to authorized users. You do not currently have permission to view this page."

 

The html file and the page on which it is embedded are published and there are no other permissions that could be changed, so my question is: is there a way to guarantee this doesn’t happen so that the embedded html page will always appear as it should?

 

The url changes day-to-day. For example, one day the url is: https://cluster61-files.instructure.com/files/9605~1162406/download?inline=1&sf_verifier=eyJ0eXAiOiJKV1QiLCJhbGciOiJ… 

The next day the url is: https://a9605-1162406.cluster61.canvas-user-content.com/courses/9605~14011/files/9605~1162406/course%20files/PHL154D07Sp… 

 

Assuming that the problem is related to this changing url, is there a way to get a stable url that can be embedded the way I want to?

Outcomes