Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Nicolai 13 posts 43 karma points
    Feb 10, 2010 @ 18:25
    Nicolai
    0

    Restricted pages

    Hi,

    I am totally new to umbraco, so my question might be dumb. I have not really investigated this, i am more interested in if it can be done, and if so, how easy is it. Do i need to code anything myself? I am a C#/asp.net developer, which is why i chose umbraco.

     

    Can i restrict certain areas of my site to members, while the rest is open to every visitor?

     

    Thank you.

  • dandrayne 1138 posts 2262 karma points
    Feb 10, 2010 @ 18:31
    dandrayne
    0

    Hi Nicolai

    Simply right-click and choose "public access" from the list of options and you can restrict access to pages based on member groups.  You might want to install membercontrols from the package repository as well, which will give you instant login and register forms for your members.  When creating restricted areas you can select a login page and an error (when users are logged in but don't have access) pages, and these member controls will give you a headstart in creating these.

    Umbraco uses the standard .net membership provider, so creating your own shouldn't be a problem (I'm not a c# coder so can't help out with these)

    Also (perhaps a little down the line) then look at http://our.umbraco.org/forum/core/general/7103-Security-Trimming to adjust your frontend menus.

    Hope this helps,
    Dan

  • Nicolai 13 posts 43 karma points
    Feb 10, 2010 @ 18:34
    Nicolai
    0

    Well, that sounded amazingly easy. Thanks.

Please Sign in or register to post replies

Write your reply to:

Draft