Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I've finally got things working for the most part. If someone navigates to a protected page, the autologin is loaded, creates their account, logs them in and displays the page. All is good. However, I have these protected pages hidden in the navigation bar for unauthenticated users. So, if someone visits the site (an Intranet) they have no way to get to the protected pages since they are not in the nav.
What I need is to log everyone in no matter what page they hit first, so when that page displays it shows all pages they have access to. I added the macro for autologin to the masterpage and that works when going to an unprotected page. However, when going to a protected page, it appears I end up with a conflict as the autologin is run twice?
Thoughts on how you would tackle this?
Bump. How do I force all visitors to the site to login without having to set Umbraco security on the entire site? I need to see if they are authorized to view certain pages in menus, search results, etc. based upon their credentials.
Hello? Is anyone still out there?
Its not quite how authentication normally works but i think - (although i've not tested it) that you need to change the site from anonymous access to user in the web.config
will deny anonymous and force anyone who hasn't logged on and redirect them to a login ? regardless of umbraco page security.
the other way is - if all your users are in a group (Like Domain Users) put that security on the top level of the site first, and this will force all users to logon to the site also ? (again i haven't tested it- but that should work)
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted