[freetds] How can I connect to MS SQL Server without store user & password in php file?
mario.freire@caixa.gov.br
mario.freire at caixa.gov.br
Thu Jan 26 06:40:37 EST 2006
Thank you, James K. Lowden!
Now I've got more questions:
1) What is "a/k/a trusted connection"?
2) So I only need to use the form DOMAIN\username and then the password will be sent encrypted? It is not necessary to do any other configuration or call a special function? Which encrypt protocol will be used?
3) Send an encrypted password through the network solves part of the problem. But the password will still be stored in the php file, which is considered insecure... Can I inform the user name and password in a file more protected, not acessible by the browser?
Thank you!
Mario Freire.
mario.freire at caixa.gov.br <http://lists.ibiblio.org/mailman/listinfo/freetds> 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