Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 6.x > Installation and deployment > Show particular page for specified users only. View modes: 
User avatar
Member
Member
vasiliy.ivanov1975-gmail - 6/11/2013 11:30:48 AM
   
Show particular page for specified users only.
Hello!
I have one page which I must show to particular users only. In CMSDesk, choosing my page, then Properties -> Security, I pick the needed users, assign permissions for them, set "Requires Authentication" to "Yes", than save. Trying to access the page, I normally get login window, but after entering the credentials I am redirected to the home page of the website, not to the needed page. What am I doing incorrectly? Please explain.

Best regards,
Vasiliy

User avatar
Kentico Support
Kentico Support
kentico_romank - 6/11/2013 11:00:08 PM
   
RE:Show particular page for specified users only.
Hi,

After you have listed some users to the Security tab of the document, does it show to these particular users as expected? Well, I guess you have done nothing incorrectly because if you have set some rights on the document it does not mean you will be redirected to it.

So, you want to achieve that the particular user listed in the Security tab will be redirected after signing in to the particular page?

Best Regards,
Roman Konicek

User avatar
Member
Member
vasiliy.ivanov1975-gmail - 6/13/2013 2:13:59 AM
   
RE:Show particular page for specified users only.
Hi Roman,

I don't mean redirecting users to particular fixed (home)pages after they login. I mean that when unauthorized user tries to access the protected page (for instance clicking the direct link), he is shown the logon form (and ReturnUrl parameter exists in logon form url), but he is not redirected to the needed page after successful logon.

Best regards,
Vasiliy

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 6/13/2013 3:53:12 AM
   
RE:Show particular page for specified users only.
Hi,

What is set in the Logon form web part for the "Default target URL" property?

It should be blank. Also, when you are on the log on page - is there the ?ReturnURL parameter present in the URL?

Best regards,
Juraj Ondrus

User avatar
Member
Member
vasiliy.ivanov1975-gmail - 6/14/2013 8:35:45 AM
   
RE:Show particular page for specified users only.
Hi Juraj,

The Default target URL property is blank. The ReturnUrl parameter exists in the login form url and points to the correct page.

I'll try to trace the logon process in debugger. But if you have any suggestions - they'll be greatly appreciated, really :)

Best regards,
Vasiliy

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 6/17/2013 1:46:35 AM
   
RE:Show particular page for specified users only.
Hi,

I tried it on my end and it is working fine.
I would need to have the access to the CMS to see this behavior and also all other settings - I guess there will be something small hidden somewhere - I do not know what at this moment, I would need to see it.

Best regards,
Juraj Ondrus

User avatar
Member
Member
vasiliy.ivanov1975-gmail - 6/17/2013 7:55:01 AM
   
RE:Show particular page for specified users only.
Thank you for your willingness to help, Juraj.

I'm not allowed to provide access to the website. Anyway, the information that the feature works normally on your instance is a good point for me, I'll go on investigating.

Have a good day!

Best regards,
Vasiliy