I'm using Active Directory in Windows Server2012 R2 and IIS 8.5 to create a WebDav for each user and it can be accessed via the user-name and user-password. One folder per user. This works perfectly using WebDav clients. I have also a web browser using ithit-ajax-file-browser.
My problem is, when i set parameters to the web-part the server shows up an authentification pop-up before logging me automatically.
I'im using
var settings = {
BasePath: '/davbrowser/',
Id: 'AjaxFileBrowserContainer',
Url: webDavServerPath,
Style: 'height: 100%; width: 100%',
MsOfficeTemplatesPath: '/templates/',
SelectedFolder: webDavServerPath,
ThemeName: 'windows_8',
IconsSize: 16
//Platform: 'mobile'
};
var ajaxFileBrowser = new ITHit.WebDAV.Client.AjaxFileBrowser.Controller(settings);
ajaxFileBrowser.GetSession().SetCredentials('username', 'password');
ajaxFileBrowser.SetSelectedFolder('/username');
`
The auto-login works but the login pop-up still appears. Are there any solution to delete it? I'm using basic authentification