I am trying the Webdav plugin for working with files in MS Office. Everything works well except that each time you open a docx file or any other MS Office format, authorization is requested. It is very uncomfortable.
I tried to figure out this problem and this is what I managed to find
This partially solved the problem as credentials are substituted automatically, but authorization does not happen automatically
It turns out that the implementation of Webdav in Cuba Platform differs from the implementation in SharePoint, namely, I cannot refer to Webdav as a network drive, therefore, the NTLM authorization of Windows does not work. I began to study what can be done and found the following
How do I avoid login dialog when using Microsoft Office?
Microsoft Office applications always ask for the authentication when used with Basic and Digest authentication. If you check “Remember my password” checkbox it will still display the login dialog, but the username and password will be already filled in, so you just click “OK”.
Here are some options to consider to totally avoid login dialog with Microsoft Office:
- Implement cookies authentication. Than use the IT Hit WebDAV Ajax Library to open documents.
- Implement Office Forms Based Authentication Protocol (MS-OFBA). You can create a sample MS-OFBA implementation using ‘Add WebDAV Server Implementation’ wizard. Find more information about MS-OFBA comparing to other authentication schemes in this article. The login dialog will be displayed one time during first document access.
- Use NTLM or Kerberos authentication. By default MS Office will ask for credentials only 1 time during first document access. The login dialog default configuration can be changed in Active Directory settings.
- Implement URL-authentiation. Your URLs will look like http://server/[SessionID1234567890]/path/file.docx
Cuba Webdav use Digest authentication. Do I understand correctly that the only sure way to get rid of the authorization window is to implement authorization through NTLM (for example Jespa) or Kerberos? Please tell me if there are any other ways to fix the problem?