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?
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
"Public Access" does not protect the site?
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?
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
Never mind, it was my mistake. It worked actually.
is working on a reply...