Sharepoint.OpenDocuments Control Compatible with Forms Authentication?

Posted by Richard Collette on Stack Overflow See other posts from Stack Overflow or by Richard Collette
Published on 2010-04-12T16:25:06Z Indexed on 2010/04/29 21:17 UTC
Read the original article Hit count: 525

Filed under:
|
|
  • We are using the Sharepoint.OpenDocuments.EditDocument2 ActiveX control and method.
  • The method is being called from JavaScript in an IE6 client on a Windows XP SP3 client (fully patched).
  • The server is running IIS6 on Windows Server 2003 SP1
  • Fronting the IIS server is Tivoli Access Manager (TAM) which proxies access to the web applications sitting behind it. Similar to forms authentication, it creates a session cookie for authentication purposes, that must be present for the HTTP request to reach the IIS server.
  • In front of TAM is an F5/BigIP load balancer and SSL encryption offloader, which enforces that incoming requests use the HTTPS protocol.

What is happening is that HTTP requests issued by this control do not contain any session cookies that were present in the browser. It drops the ASP.NET session cookie, the ASP.NET forms authentication cookie and the TAM cookie Because the TAM cookie is missing the request is redirected to the TAM login page, which then shows up via HTML conversion in Word or Excel.

The API documentation at http://msdn.microsoft.com/en-us/library/ms440037.aspx mentions nothing about security or appropriate usage scenarios for this control.

Should these controls work in an ASP.Net Forms Authentication scenario or are they only supported with Windows Authentication. If Forms Authentication is supposed to function, how do we get the control to include the necessary session cookies in its requests?

© Stack Overflow or respective owner

Related posts about sharepoint

Related posts about Services