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.
If you can authenticate your PHP application using Keberos, you can use the kerberos delegation to transfer credentials to the secondary server.
Kerberos, .
? , IIS .
, , ODBC-, System DSN. , login un/pw Windows.
, , . , , .
, . MS Access, , . . .
Kerberos - , . "" , , , , ( , MySyntheticUser -, ).
, , Microsoft Kerberos , . .NET-, IIS, SQL Server 2005, AD Internet Explorer. , . , PHP, , Kerberos. , SSPI. , PHP- , , , IIS.
, , , Microsoft , Microsoft.
IIS PHP? CGI ISAPI?
SQL Server , IIS , , .
FastCGI, , , , .
Source: https://habr.com/ru/post/1703945/More articles:games using the telephone line - networkingmprotect API for OS X Tiger - cExtended use of SQL DateDiff? - sqlTSQL function to determine the difference between two dates, taking into account weekends and holidays - datetimeOutOfMemoryException on the mobile device - .netPHP and MS Access - phpGIve me short cut for visual studio 2008 IDE - visual-studio-2008In Eclipse Find / Replace-field, can I change the result matched by regex $ 1? - eclipseShould I Learn SharePoint 2007? - sharepointWhat would be the best way to introduce you to the project? - projectAll Articles