Using Kentico version 12 portal pages: what is the recommended way to make private pages? The requirement is to have pages that only some people can access. Is there any out of the box support for this feature or is it something that I'm going to need to build custom?
If I do have to build it custom, what's a high level recommended way of doing it? I don't need a super detailed explanation, just a high level quick overview of a recommended way to do it.
I'm thinking (without having much background) I could create a page type property that would be a list of authorized users and redirect if the user isn't logged in or isn't on the list. Is this overly complicating things? Does kentico support this type of feature out of the box?
How have you all implemented requirements like this in the past?
Thank you for reading
Check out the Security tab in the Pages application:
You can give certain users or complete role access.
It will popup the default login if you are not logged in.
Just a quick addition to David's answer: also make sure you use .CheckPermissions() call if you need to display only available pages to the user. And don't forget to hide these pages from search engines, site search, remove from sitemap if needed.
Please, sign in to be able to submit a new answer.