If for what ever reason (read disclaimer at end) you need anonymous access enabled on a SharePoint site that is using windows authentication, you will notice that even as an authorized user you are not signed in automatically. The anonymous ‘experience’ will always take precedence over the users credentials.
This is the way the HTTP protocol works so IIS and SharePoint are off the hook for this issue.
If you do want to be a recognized user then you will need to click on the ‘Sign In’ link at the top of the site. Depending on your browser security settings you will either be signed in automatically or prompted for credentials.
Solution:
This is less of a solution and more of a work around but it will achieve the desired result. To force an auto-sign in under SharePoint you need a page that has unique permissionsto force the challenge/response for credentials. This can then be provided to the authenticated users as the ‘authenticated’ homepage url.
There are a few limitations with this method:
This is the way the HTTP protocol works so IIS and SharePoint are off the hook for this issue.
If you do want to be a recognized user then you will need to click on the ‘Sign In’ link at the top of the site. Depending on your browser security settings you will either be signed in automatically or prompted for credentials.
There are a few limitations with this method:
- Anonymous users will not be able to access this page
- To be more useful the page will probably need some redirection, i.e. To pass the user back to a global home page, and this provides its own set of challenges
- Unless the authenticated user hit this page first, i.e. They follow direct links to somewhere else in the site, they will not be signed in
No comments:
Post a Comment