Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

R and Windows Authentication

We have a data server set up in IIS using Windows Authentication (Kerberos). Does anyone know how to call web services (GET and POST) from R authenticating against the Windows identity?

like image 804
Roland Buergi Avatar asked Jul 27 '16 09:07

Roland Buergi


People also ask

What is difference between SQL authentication and Windows Authentication?

Connecting Through Windows Authentication This means that the user identity is confirmed by Windows. SQL Server does not ask for the password, and does not perform the identity validation. Windows Authentication is the default authentication mode, and is much more secure than SQL Server Authentication.

Which plugin is required for Windows Authentication?

Yes, there is a GSSAPI plugin thatt can authenticate in Windows AD with Kerberos. It can also authenticate on a standalone computer. See Authentication Plugin - GSSAPI.

What is Windows Authentication mode?

Windows authentication (formerly named NTLM, and also referred to as Windows NT Challenge/Response authentication) is a secure form of authentication because the user name and password are hashed before being sent across the network.

Is Windows Authentication the same as Active Directory?

Windows authentication means the account resides in Active Directory for the Domain.


1 Answers

Eventually, I found out how to achieve this via NTLM. It is actually simple:

require("httr")
GET("http://my-url",authenticate(":", ":", "ntlm")) 
like image 163
Roland Buergi Avatar answered Oct 03 '22 02:10

Roland Buergi