Copied to clipboard

Flag this post as spam?

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


  • Hardy Wang 91 posts 112 karma points
    Feb 02, 2012 @ 19:25
    Hardy Wang
    0

    "Public Access" does not protect the site?

    • I create member group and a member in 4.7. 
    • I created a total blank page called "login".
    • Now I go to one of the node to select public access, I choose role based protection, and select that login page for both login and error page.

    Now I visit my content page with public access restriction enabled just to make sure my setting works, but unfortunately I still can visit the protected page without being redirected to login page.

    What did I do wrong, how can I make sure the page is protected?

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Feb 02, 2012 @ 23:59
    Jan Skovgaard
    0

    Hi Hardy

    How do you render your content?

    If you use XSLT or Razor for instance you'll need to ensure people can't access pages they're not allowed to see by using for instance @HasAccess - See the example in the wiki reference here: http://our.umbraco.org/wiki/reference/umbracolibrary/hasaccess

    Hope this helps.

    /Jan

  • Hardy Wang 91 posts 112 karma points
    Feb 03, 2012 @ 04:35
    Hardy Wang
    0

    Never mind, it was my mistake. It worked actually.

Please Sign in or register to post replies

Write your reply to:

Draft