Welcome to MSDN Blogs Sign in | Join | Help

Update on SharePoint forms based authentication(FBA) and Office client

Hi folks,

It’s Steve Peschka from the SharePoint Ranger team again. I wanted to update everyone on some changes with the level of support and integration in the Microsoft Office client applications (hereafter referred to simply as “Office”) and SharePoint sites that are secured with forms based authentication (FBA). For those of you who have read part 3 of the FBA whitepapers (http://msdn.microsoft.com/en-us/library/bb977430.aspx), you know that at the time Office and SharePoint 2007 was released, there was not a strong level of integration between the two. In fact, as some of you may have seen, if you had Enable Client Integration turned on for a zone secured with FBA, and then you tried to edit an item in that zone using the Edit in Microsoft Word command from the menu for example, instead of opening the document up, Word actually opened the login page for the site. It resulted in something that looks like this:

clip_image002

For the rest of this blog, I’m going to share with you a sneak of an update to part 3 of the FBA whitepaper that describes changes we’ve made to the Office client to enable much better integration with SharePoint sites secured with FBA. These changes allow Office applications to display whatever forms login page is being used for the site in a pop up dialog box. The Office application renders the HTML from that login page and allows the user to enter credentials. The credentials are sent back to the server and if the server returns a redirect response for the document that was originally requested, the Office application assumes that the identity has been successfully established. It is then able to use the authorization cookie it was given to retrieve the document and any associated metadata, and open the item up.

This approach allows you to use whatever forms authentication login page the site uses – whether it’s the login page that comes with SharePoint, a custom login page, or even a multi-factor login page. Below is an example of what the login dialog looks like when opening an item on a SharePoint site that uses the standard forms login page:

clip_image004

The steps necessary to implement this support are as follows:

On the Client

1. Download the hotfix for KB 960499 from the December 2008 Cumulative Update for the Office client applications; you can find this download at http://support.microsoft.com/kb/960499/. Please note that even though the documentation primarily describes fixes for the InfoPath client, this is the correct patch to enable support in Microsoft Office applications for FBA.

IMPORTANT: This patch can only be used with Office 2007 running on the Windows XP operating system. A patch that enables this support for Office 2007 running on the Windows Vista operating system is available in the April 2009 cumulative update for the Microsoft Office client. It also requires that Service Pack 2 for Vista be applied.

2. Install this patch on each client computer running Windows XP and Office 2007 from which you wish to use the Office client to open documents in an FBA-secured site.

3. Configure the appropriate set of registry values on each client computer to enable the Office client applications to use the FBA integration features. At a minimum, the FormsAuthEnabled value needs to be created and set 1. More details on the registry values, their location and function are described below.

NOTE: If you are using Internet Explorer, these new features require at least version 7.0 or higher.

On the SharePoint Farm

1. Go to Central Administration, click on the Application Management tab, then click on the Authentication Providers link.

2. In the Web Applications drop down, select the web application that contains an FBA zone and then click on the link for the zone that is configured to use FBA.

3. On the settings page for the zone, check the Enable anonymous access checkbox, and change the Enable Client Integration? setting to Yes.

NOTE: Checking the Enable anonymous access checkbox does not, by itself, grant anonymous access to any content in the web application. It is however, necessary to enable the Office client applications to gather enough information about the site to display the login dialog window.

The authentication settings for the web application should appear like this:

clip_image006

Registry Values

There are several registry values that can be used to help control how and when the Office client applications will attempt to use the FBA to authenticate a request. All registry values are stored under the key HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Common\Internet\FormsBasedAuthSettings.

As described above, the FormsAuthEnabled value is required at a minimum for these new features to work. It is a DWORD value and must be set to 1 in order for the Office client to utilize these new FBA features. There are other registry values available for further fine-tuning your implementation that will be explained more fully in the update to the FBA whitepaper. They include settings for things like not allowing cross domain redirects for login, require SSL with the login page, enabling scripts, behaviors, and ActiveX in the login page, etc.

Other Things To Know

There are a few other things to know about the support described here. First, not every Office application will be able to take advantage of these new features. More may come online over time, but for now you should count on the core Office apps (Word, Excel, PowerPoint and Outlook) to support this. Second, adding this feature to the Office client enables some other scenarios that weren’t previously possible. For example, we can also potentially integrate with SharePoint sites secured with ADFS much better than we have previously. After all, ADFS is just FBA with a remote login page. We hope to address the ADFS scenario more specifically in the update to part 3 of the FBA whitepaper, so make sure you download it and take a look when it’s released.

That’s all for this entry, hope you find the information useful.

Steve

Published Wednesday, May 13, 2009 6:29 AM by sptblog

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Update on SharePoint forms based authentication(FBA) and Office client

December 2009 package?  Is this a sneak preview?  LOL!

Wednesday, May 13, 2009 9:40 AM by Rick Taylor

# Anith » Update on SharePoint forms based authentication(FBA) and Office client

# re: Update on SharePoint forms based authentication(FBA) and Office client

The article mentions that for this to work with Vista, SP2 for Vista must be installed?  However, based SP2 for Vista has not yet been released...

Excited to see this work, but wondering about the feasibility in the short term for Vista users.

Wednesday, May 13, 2009 9:56 AM by Gray Ghost

# re: Update on SharePoint forms based authentication(FBA) and Office client

When I try to install the hotfix on Windows XP SP3 with Office 2007 Enterprise, I get "The expected version of the product was not found on the system"

Thursday, May 14, 2009 9:41 AM by Ravi Vajaria

# Office 2010 Images, PHP Development Kit for Azure Available, More from TechEd 2009

Top News Stories Creating Portals with Office SharePoint (The Register) We are dubious about some of

Thursday, May 14, 2009 10:33 AM by SharePoint Daily

# WSS 3.0 & MOSS: Mejoras en la autenticación basada en formularios con el SP2 (Cont.)!

Hace unos días os hablaba de las mejoras que introduce el SP 2 de SharePoint (WSS 3.0 & MOSS

Thursday, May 14, 2009 5:35 PM by Blog del CIIN

# SharePoint 2007 : Mieux gérer l’intégration Office avec l’authentification par formulaire

Intégrer les outils clients Office avec un extranet SharePoint est un besoin récurent qui trouve malheureusement

# SharePoint 2007 formularbasierte Authentifizierung (FBA) und Office ...

diese Kombination hat mich bisher in den Wahnsinn getrieben, und der Versuch mit FBA aus Office heraus

Monday, May 18, 2009 9:53 AM by Mostly Technical Content

# Update on SharePoint forms based authentication(FBA) and Office client xxxxxx

Hi folks, It’s Steve Peschka from the SharePoint Ranger team again. I wanted to update everyone on some

Thursday, May 21, 2009 2:10 PM by Testing Blog Loc - Japanese

# SharePoint Kaffeetasse 116

Webcast TechNet Webcast: SharePoint und PowerShell (Level 300) 4.6.09 15:30-15:50 Uhr Für Office SharePoint

Monday, May 25, 2009 4:52 AM by Michael Greth MVP SharePoint Blog

# Update on SharePoint forms based authentication(FBA) and Office client

Hi folks, It’s Steve Peschka from the SharePoint Ranger team again. I wanted to update everyone on some

Monday, June 01, 2009 1:06 PM by Testing Blog Loc - Japanese

# Verbesserte Client-Integration in FBA-Umgebungen

Wer meinen Blog in den vergangenen Jahren verfolgt hat, wird sich vielleicht daran erinnern, dass ich

Tuesday, June 02, 2009 11:05 AM by Fabian's Blog [SharePoint MVP]

# Client-Integration mit FBA

Fabian Moritz hat in seinem Blog einen sehr interessanten Artikel über FBA verlinkt. SharePoint 2007

Tuesday, June 02, 2009 11:43 AM by Meine SharePoint-Notizen

# Update on FBA support with Office Client

If you have worked with SharePoint FBA and have seen the issues with Office client, there is some good

Thursday, June 11, 2009 2:34 AM by SharePoint Memory Dump

# Verbesserte Client-Integration in FBA-Umgebungen

Wer meinen Blog in den vergangenen Jahren verfolgt hat, wird sich vielleicht daran erinnern, dass ich

Friday, June 12, 2009 2:26 PM by Fabian´s Blog [SharePoint MVP]

# re: Update on SharePoint forms based authentication(FBA) and Office client

Introducing such a topic you'd like to congratulate you've let us know. Have good work..

Monday, July 06, 2009 6:54 PM by bayrak

# re: Update on SharePoint forms based authentication(FBA) and Office client

provide useful information like this was a good explanation, thank you to

Tuesday, July 07, 2009 8:36 AM by webtasarım

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker