Requiring Login

Posted by Community Admin on 04-Aug-2018 17:45

Requiring Login

All Replies

Posted by Community Admin on 16-Jan-2012 00:00

I'm extremely new to Sitefinity and I'm wanting to create a section of my website that will require a user to login in order for them to view it. I would like to be able to drag a widget onto the page template I'm using for this section and have it check for a specific role.

Is there anything that already exists that I could use? Or do I need to build something from scratch? (in which case can someone point me in the right direction).

I'm using a fresh installation of Sitefinity 4.4

Thank you

Posted by Community Admin on 18-Jan-2012 00:00

Hi Miles,

There is a login widget you can place on your page template. I have included some documentation on the login widget group. These widgets can be placed on your form and then be utilized from there.

Concerning roles, you can assign users to roles. I have included some documentation on roles and users. Also if you wish to create a custom widget, I have included a link to a video. This video was created for 4.0 but the same concepts still apply to Sitefinity 4.4. Also if you wish to override the existing functionality of a widget, I have included a blog post that goes into further detail on how to do this.

Let me know if you have any other questions.

All the best,
Grace Hallwachs
the Telerik team

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 19-Jan-2012 00:00

Nice, I was needing to modify the permissions for my root page to only allow specific roles to be able to view it.

Now that I've made that change, when I try to view one of the restricted pages as a user who doesn't have access (or a user who isn't logged in) I see a This type of page is not served error. Is there anyway to redirect the user to the log in screen instead of them seeing this generic unknown error page?

Posted by Community Admin on 19-Jan-2012 00:00

Miles,

That's normal behavior. To get rid of it, you'll need to implement custom error page functionality.

This thread is closed