Web dav (non-sharepoint) opening MS-office without login prompt - authentication

Does anyone know how to open MS-office files without login prompt for Web DAV? I've tried editing the registry, saving the password in credential manager, etc..
however it still prompts me whenever I open up my Excel or Word file.

Note that when using windows explorer, or internet explorer, to browse files and launch for editing, this is a seperate process and executable from MS Office. The authentication state is not shared between processes, nor are cookies.
Any webdav client will display a login prompt when the web server replies to a request with a 401, which is normally after an anonymous request to a secure resource. Webdav clients will usually not send credentials pre-emptively, they send them in response to a challenge.
So to prevent the login prompt in http://milton.io we provide a framework to embed authentication tokens in the URL. This solves the problem for launching from web browsers (IE) but is not generally helpful for browsing with windows explorer.
If you are launching from windows explorer a better solution is to use a true drive mapping tool such as NetDrive.

Related

Authentication Popup Happening Inside network

I am working on some browser tests in selenium on Chrome. I have a script which ran on my personal machine can connect to a site and has no issues. However when the script is ran on a machine inside our network, it pops an authentication pop up. When I click cancel on the authentication box, it continues to a user login page which allows regular authentication. I have disabled IWA for the browser but it is still popping up.
I tried passing username#password:url but that did not work. Our test account is not connected to the domain and this website will try to use your Windows account but outside the network it defaults to the login page where we do have regular userid/pw for certain people (like our test account they created for us). We do not control the server so I cannot change that behavior.
I would normally close the alert in this case however selenium is not recognizing the authentication popup as an alert so the script just hangs. So step 2 would be the userid/password sent in the URL but that doesn't work either. I would prefer not to go the route of installing any other tools (like AutoIt) and try to solve this with settings.
Is there a way to skip the authentication popup in chrome? In the header the response is its using "Negotiate" for auth. I do not get that when testing on my local machine outside the network.

Login to Windows Authentication automatically

We have a program that runs in IIS with Windows authentication, and which is available to the outside world.
Right now, we provide to every interested party a link to the program, along with guest credentials they then have to type.
Is there a possibility to do away with the credentials? Our internal people should be able to login as usual, but we want to provide a link to get into the guest account without typing any login credentials.
I have tried to add the credentials into the clickable url, but Internet Explorer and Edge browser do not support this, and Mobile Safari throws phishing warnings.
Can this be done universally, that the authentication is done invisibly in the background in all browsers, using some kind of redirect or XHR call with arguments or something like that?

can I use build in browser control(In visual studio item tools) for Auth 2?

You know there is a web browser control in visual basic controls.
When we are using Auth2 for get into Google Apps(Gdrive,GPlay...) it opens a webpage in OS default browser(Chrome , Fire fox...) to get permissions. How can I make it to request from a web browser control on the form without opening other browsers?
The Google .Net client library is designed to open the users default browser for authentication.
The client library does not have the functionality to give you the url you would need to open it in a web browser control.
Sorry this is not possible

Sharepoint 2012 Authentication for non-AD users

We have a sharepoint site that is used both internally and externally. Internal users are authentication via AD and there are no issues. The external users are authenticated using STS and the Portal User Table. However whenever an external user tries to open a document they have to re-enter their login credentials.
This happens everytime they open a document unless they happen to have left the application that the document is read in is left open, i.e. if they open a word document, leave it open and then open another word document then they don't get asked for credentials.
This is obviously a royal pain as we are using the site for document review, revision and collaboration. Our systems team say this is working as designed and there is nothing that can be done about it. Is there any practical way to resolve this without the external users having to specifically configure something on their own system or network?
Thanks
Jim
Here is a solution I found quite some time ago..
In Internet Explorer, click on Tools and select Manage add-ons
Highlight Toolbars and Extensions in left navigation.
Locate SharePoint OpenDocuments Class
Right-click and click the Disable button
Close and refresh browser

Downloading a file using internet explorer credentials in VB.NET

I want to download a file in VB.net from a website that requires credentials, all my users have their credentials to this website saved in their IE settings.
Is there a way to download a file from this website using the IE credentials? I'm trying to avoid from asking my users for their credentials.
thanks.
Edit: I need to download many files, so i need a way to download the files programmatically.
just invoke this command from Process.Start:
explorer http://www......
this only works if you have the full url of the file you want to download. In case the default browser is not IE you should replace explorer with iexplore