0

Let's say that a client has requirement like this:

Client has to create a SharePoint 2013 on-prem application which will have few lists and which should be accessed by three different types of user like: A. Internal user of the company B. Vendors of the company C. Few anonymous users when they clicks a link it will open another page where they can register themselves as user.

What should be the approach for the design. Which site template should be used and what will be authentication mechanism in this case?

1 Answer 1

1

Be very careful with this design, as it's pretty tricky to do well.

Though first, any site template can be used, as the site template doesn't affect authentication.

Authentication. You could either:

  1. enable both forms and windows auth on the same web app. When a user went to the site, they would get a dropdown selection that asked them if they wanted to log in using forms or windows auth. If they are an internal user, they would pick windows auth and they would get logged in. If they were a vendor, they would pick forms auth and it would redirect them to the login page.

  2. Extend the web app and have forms auth on one and windows auth on the other.

Both of the above have issues. With the first, asking the user to select their authentication method will cause some amount of confusion. With the second, the internal users will be accessing the exact same content as the external users, but from different URLs. If an internal user ever sent a link to an external user, the external user wouldn't be able to access it.

Given the above flaws, three more options:

  1. If there's only a few internal users accessing this site, give them external accounts to work with just this site and enable forms authentication. Internal and external users will access the same site using the same url, and will have a nice login experience. Yes, internal users will need to know an additional username / password, but that is workable if it's a small number of users.

  2. Use Option 1, but add javascript to the page or some other mechanism to redirect the user to the appropriate login page.

  3. Look into using Office 365 for this site.

Also, take a look at the FBA pack for SharePoint 2013, and see the link towards the top of the page to the doc that walks through the process of getting forms auth set up.

http://sharepoint2013fba.codeplex.com/

2
  • Mike, Thank you for your reply. But internal user doesn't wants to do extra login...they want to enter the site directly. How the anonymous user will be authenticated as till that time he has no credential but wants to add him as user for the portal. What should be approach for the anonymous user?
    – user17251
    Commented Jun 27, 2015 at 4:17
  • Once the internal used selects "windows authentication" from the drop-down, they'll be logged in automatically without having to enter credentials. To allow anon users to register on the site, see the fba pack I linked to, as it has components to do that.
    – Mike2500
    Commented Jun 28, 2015 at 21:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.