Hi.
I have a few questions as to how I should be working with my MSSQL 2005 connection strings in my VB.NET 2005 applications. My colleagues and I question the best methods to be used when dealing with connection strings.
Currently we have a multiple location environment that has time clock stations. The time clock stations write to the local database on the pc's in which they reside. However, we have developed some services that collect the records from each time clocks database. The services reside on an application server completely seperate from the time clock stations and write the collected data to a Central Database server.
My question is, what would be the proper way to pass connection data for each database that we collect data from? We would prefer a secure method obviously. Is a trusted connection the best method to use? Of not, when we pass the user id and the password for each database, along with the server name and catalog, to our connection class, is it a preferred method to encrypted and then decrypted the connection string? What is the best/most secure method?
Any comments on this thread would be appreciated.
Thanks,
Gregg
VB.NET 2005 Developer
I have a few questions as to how I should be working with my MSSQL 2005 connection strings in my VB.NET 2005 applications. My colleagues and I question the best methods to be used when dealing with connection strings.
Currently we have a multiple location environment that has time clock stations. The time clock stations write to the local database on the pc's in which they reside. However, we have developed some services that collect the records from each time clocks database. The services reside on an application server completely seperate from the time clock stations and write the collected data to a Central Database server.
My question is, what would be the proper way to pass connection data for each database that we collect data from? We would prefer a secure method obviously. Is a trusted connection the best method to use? Of not, when we pass the user id and the password for each database, along with the server name and catalog, to our connection class, is it a preferred method to encrypted and then decrypted the connection string? What is the best/most secure method?
Any comments on this thread would be appreciated.
Thanks,
Gregg
VB.NET 2005 Developer