SaaS CMS has officially launched! Learn more now.

Pdf and docs in restricted section in media section redirect to episerver login


I have an episerver solution (v11.2) where i have a folder that is "restricted" so when you want to access it, the member has to login.

It works fine when they try to access the file at first, a login prompt comes up, and you can login. 

But after im logged in, and try to access the file, im redirected to the episerver login page. And only when i login there, am i permitted to download the file.

I hope someone have experienced the same, and can help.

Apr 21, 2021 11:18

Hi André

I believe when you are trying to download the file then the URL segment has '/Episerver/CMS/Content' root segment thus you redirected to the login screen.


But when you try after removing the '/Episerver/CMS/Content' root segment then hopefully you are able to download the file without getting a login screen and login.


Edited, Apr 22, 2021 8:22


The url for the pdf document is

The file is included in a rich text editor as a link.

Apr 23, 2021 8:43

Did anyone find a solution for this? I'm experiencing the same problem with EpiServer.CMS 12.26.0. Also with restricted files in a rich text editor.

Dec 18, 2023 14:41
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.