Hello!
Due to security standards I'm no longer allowed to write the username and password for an odbc connection down in a php file (odbc_connect($dsn, "myUsername", "myPassword")
.
I was told that I should use either of the following options:
1.) the odbc dsn connection on the server (which is a win200 server). Because her the username and the password are already installed but cannot be read by anyone looking at it.
2.) Using an application pool where my application runs. Here I can run the application within a certain context. I.e. I can state under which username and password the application runs.
So far so good. My problem now is that the function odbc_connect() needs username and password. You cannot go without them. I already tried empty password, username. Doesn't work.
Does anybody know how I can use one of the above methods with php?
Regards
Eva
Due to security standards I'm no longer allowed to write the username and password for an odbc connection down in a php file (odbc_connect($dsn, "myUsername", "myPassword")
I was told that I should use either of the following options:
1.) the odbc dsn connection on the server (which is a win200 server). Because her the username and the password are already installed but cannot be read by anyone looking at it.
2.) Using an application pool where my application runs. Here I can run the application within a certain context. I.e. I can state under which username and password the application runs.
So far so good. My problem now is that the function odbc_connect() needs username and password. You cannot go without them. I already tried empty password, username. Doesn't work.
Does anybody know how I can use one of the above methods with php?
Regards
Eva