Can Windows Authentication be used with PHP in IIS for ODBC connections?

Can I use Windows user authentication (setup in iis) to connect to a database in PHP?

This is possible in the .NET world using a method called impersonation. Does it also exist in the world of PHP / IIS?

EDIT . I am using MS SQL Server 2005 database.

+3
source share
5 answers

If you can authenticate your PHP application using Keberos, you can use the kerberos delegation to transfer credentials to the secondary server.

Kerberos, .

+3

? , IIS .

+1

, , ODBC-, System DSN. , login un/pw Windows.

, , . , , .

, . MS Access, , . . .

+1

Kerberos - , . "" , , , , ( , MySyntheticUser -, ).

, , Microsoft Kerberos , . .NET-, IIS, SQL Server 2005, AD Internet Explorer. , . , PHP, , Kerberos. , SSPI. , PHP- , , , IIS.

, , , Microsoft , Microsoft.

+1

IIS PHP? CGI ISAPI?

SQL Server , IIS , , .

FastCGI, , , , .

0

Source: https://habr.com/ru/post/1703945/


All Articles