|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
How to use a Windows Login using PHP on SQL Server 2000
Is there a way through PHP to login using a Windows Login set in the SQL Server(such as the IUSR_XXXXXX account)?
My system administrator would rather use this instead of the "sa" account or others made in the SQL Server. Any suggestions? I am using the php_mssql.dll function accepted by php. Thanks in advance. |
|
#2
|
|||
|
|||
|
No, im pretty sure you cannot do this as the PHP module is abstracted from windows. PHP talks directly to the database and doesn't use Windows authentication, so you'll have to use a database login.
I don't see why you would want to use a system login, because a db login can be setup to be more secure and to enforce restrictions such as only to certain databases, etc... |
![]() |
| Viewing: Dev Articles Community Forums > Databases > Microsoft SQL Server > How to use a Windows Login using PHP on SQL Server 2000 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|