Media Library Permissions

Jay Crowe asked on January 7, 2019 15:54


I was wondering if someone could please help me. I have created a Web Part which is essentially just an iframe. I am trying to view a HTML file from a Media Library I created and when I am viewing the page I am getting the Kentico login screen being rendered in the iframe. If I log in I can see the HTML file as I expect.

Is there something I need to do so that the user does not get the login screen? I have set the Media Library to allow everyone to see the Media Library content.

Regards, Jay

Recent Answers

Peter Mogilnitski answered on January 7, 2019 17:12 (last edited on January 7, 2019 19:00)

It should work. if your wepart produces something like <iframe src="~/CorporateSite/media/MyMedia/test.html" height="200" width="300"></iframe>. Permission that you set for media library - they are managing permissions. They have nothing to do with the view permissions. I suggest you do a clean test add static html web part put html above with a link to your file and see if it works.

Can you see your HTML file directly in incognito window? If there is not login window- then it has nothing to do with media library - the problem is on the page where you plug your web part.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.