Forms Based Authentication

There have been several blog posts about the implementation and the use of Forms Based Authentication in a SharePoint environment. Last two days I have been digging into FBA because there is obviously a growing interest among companies about this authentication method.

To start of I found a great help (must read!) in 2 posts by Dan Attis about setting up FBA and how to enable MySites and Personalization features for your FBA users:
Part 1
Part 2

Dan's primary purpose was about serving the customers, as in making the FBA part the most important one.
Well, I like to turn things around.

Situation:
You're working at a company with a bunch of freelancers. Let's say a newspaper. When a freelancer works for you, you would like to give him access to your SharePoint environment. Since you use a lot of freelancers (and not always for a long time) you don't want to put them into your Active Directory.

Setup:
You have an intranet portal. All your ("real") employees are registered in Active Directory and they are using MySites and Personalization features. Your freelancers don't need MySites nor Personalization features, since they are never long enough around to use them properly.

How to: (I will not go too detailed, since all the pure technical steps are beautifully described in the posts by Dan Attis)

  1. Create a User database and some users.
  2. Extend the already existing portal, creating a new IIS web site. (You can choose port and host header as you like)
  3. Choose "Extranet" as zone in the Load Balanced URL section.
  4. Add the connectionStrings entry and the Membership and Role Provider sections to the web.config file of the newly created Web Application AND to the web.config file of the Central Administration Web Application.
  5. In the Central Administration web.config, change the default RoleManager to "AspNetWindowsTokenProvider"
  6. In Application Management, change the Authentication Provider for the Extranet zone to Forms and enter the Membership and Role Provider names.

You're ready to go.

 Thoughts and problems:

  • It is not possible to enable MySites and Personalization features for both Active Directory users and FBA users. That is because the SSP has to be changed to Forms Based Authentication itself. (In our situation, it wasn't required anyway Wink) It would require separate SSP's to accomplish this.
  • In our situation, the search works because it uses the Windows Based Authentication site to crawl. When going completely Forms Based, additional configuration would be required. But, searching into FBA sites (for example FBA Mysites) still causes problems.
  • User Administration. Well, you could write something yourself to access and administer the SQL Database. Or you could go to this link and use the webpart. Although it's still pretty basic, it has some cool features.


I've just begun to explore FBA, so probably more posts to come. So I give it a

To be continued...

Keep on rocking
Tom
 

 

Published dinsdag 17 april 2007 20:54 by Tom Vandaele

Comments

# about mixing form based authentication with other types....

Tom Vandaele has opened up his blog on the newly created Trycatch community site with an awesome post

# about mixing form based authentication with other types....

maandag 23 juli 2007 12:59 by bart's blog

Tom Vandaele has opened up his blog on the newly created Trycatch community site with an awesome post

# The Sims Freeplay Cheats

zondag 14 september 2014 15:13 by The Sims Freeplay Cheats

Forms Based Authentication - SharePoint Stuff

# http://pleskwin10.hospedagemdesites.ws/test/php/php_info.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fconfidencegames.com%2Ffifa-15-coin-generator%2F%3Ehttp%3A%2F%2Fconfidencegames.com%2Ffifa-15-coin-generator%2F%3C%2Fa%3E

Forms Based Authentication - SharePoint Stuff

# hack dragon city

maandag 6 oktober 2014 6:18 by hack dragon city

Forms Based Authentication - SharePoint Stuff

# http://195.205.63.243/test.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fwww.socialcheats.com%2Fdota-2-cheats%2F%3Ehttp%3A%2F%2Fwww.socialcheats.com%2Fdota-2-cheats%2F%3C%2Fa%3E

Forms Based Authentication - SharePoint Stuff

# http://www.jimwrightonline.com/php/tcpdf_php4/serverData.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fgenerateurdecreditsfifa15.social-cheats.com%2F%3Ehttp%3A%2F%2Fgenerateurdecreditsfifa15.social-cheats.com%2F%3C%2Fa%3E

Forms Based Authentication - SharePoint Stuff

Powered by Community Server (Commercial Edition), by Telligent Systems