Hi all,
I have a script that creates a text file from particular transactions in a database. My concern is that I am using a connection script that has the sa password in it. Is there anyway to use a connection outside the script that is encrypted??
My script starts like this:
'**********************************************************************
' Visual Basic ActiveX Script
'************************************************************************
Function Main()
Dim fso,fil,txtStr,conObj,rsRst
set conObj =CreateObject("ADODB.Connection"
set rsRst = CreateObject("ADODB.Recordset"
conObj.Connectionstring = "PROVIDER = SQLOLEDB;DATA SOURCE =TESTLA;INITIAL CATALOG = TEST;USER ID = sa; PASSWORD = sa"
conObj.open
------------------------------------------------
ANy ideas on how to avoid using the connection info like this?
Thanks in advance,
MDA
I have a script that creates a text file from particular transactions in a database. My concern is that I am using a connection script that has the sa password in it. Is there anyway to use a connection outside the script that is encrypted??
My script starts like this:
'**********************************************************************
' Visual Basic ActiveX Script
'************************************************************************
Function Main()
Dim fso,fil,txtStr,conObj,rsRst
set conObj =CreateObject("ADODB.Connection"
set rsRst = CreateObject("ADODB.Recordset"
conObj.Connectionstring = "PROVIDER = SQLOLEDB;DATA SOURCE =TESTLA;INITIAL CATALOG = TEST;USER ID = sa; PASSWORD = sa"
conObj.open
------------------------------------------------
ANy ideas on how to avoid using the connection info like this?
Thanks in advance,
MDA