[freetds] How can I connect to MS SQL Server without store user & password in php file?

James K. Lowden jklowden at freetds.org
Wed Jan 25 22:44:50 EST 2006


mario.freire at caixa.gov.br wrote:
> I need to use Windows Integrated Security Mode (Trusted Connection) or
> something similar as, for security reasons, I can't store user and
> password in the php file. Freetds user guide says that it is possible,
> but I have no idea how can I do it... 

When you provide your username in the form DOMAIN\username, FreeTDS
assumes you want a domain login, a/k/a trusted connection.  The password
you provide will be encrypted and sent to the server.  

--jkl


More information about the FreeTDS mailing list