How to get redirected to login page when a media library folder is set to Authenticated Users Only ?

Ali Shahrokhi asked on March 26, 2018 04:30

Hi Kentico, Would you please provide us with a workaround to redirect unauthorized accesses from the media library files to the login page including the return URL? at the moment all unauthorized users get access denied page instead of login URL.

Thank you.

Recent Answers


Brenden Kehren answered on March 26, 2018 05:25

Have you created a login page in your content tree? Have you set the login page in your settings? Have you changed any of your default web.config settings?

0 votesVote for this answer Mark as a Correct answer

Ali Shahrokhi answered on March 26, 2018 05:41 (last edited on March 26, 2018 05:41)

Have you created a login page in your content tree? Yes
Have you set the login page in your settings? Yes
Have you changed any of your default web.config settings? No

0 votesVote for this answer Mark as a Correct answer

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