Ajax File Browser AutoLogin Microsoft Office Authentication

I am using AjaxFileBrowser to view WebDav files:

Each user with separate credentials and an associated folder. I managed to do user authentication and avoid browser login.

I am using basic authentication under SSL.

Now I tried to run files with my Microsoft office application, I get an authentication popup to be able to read / write these files.

Is there a problem to remove this authentication and make it automatic.

As the official documentation mentioned, I can use NTLM or Kerberos, but I will lose the first authentication step.

+3


source to share


1 answer


Unfortunately, there is no way to avoid the Basic Authentication dialog in Microsoft Office. Microsoft Office and the web browser (or your other WebDAV client application) run in separate processes and the web browser cannot pass authentication information in this case.

Here are some options to avoid the login dialog entirely:



  • Implement MS-OFBA or MS-OFBA authentication along with Basic. See Choosing WebDAV Server Shema Authentication to find the MS-OFBA that you need. You can completely avoid the login dialog in the case of Internet Explorer (but not in the case of other web browsers).

    Microsoft Office applications on Windows use Internet Explorer to display the MS-OFBA login dialog box. If a user logs into your website with Internet Explorer and checks the "Remember me" checkbox during login, then persistent cookies will be saved. between IE window (with one website) used by Microsoft Login Dialog and IE web page with your website. the logon dialog box is not displayed when you open a Microsoft Office document in this scenario.

    In other web browsers, the user will receive an MS-OFBA login dialog at least the first time they access the document. If it checks for "Remember Me" while accessing the document, the next time the login dialog box will not be presented.

    This script can also work with Microsoft Office for MAC, but I don’t know which MS Office browser on MAC is using inside its login dialog.

  • Implement URL authentication. Your urls will look like this: http://webdavserver.com/ [ SessionID1234567890 ] /path/file.docx Make sure you do not pass ID as URL parameters in this case, as the parameters are truncated by Microsoft Office.

0


source







All Articles