0

I have test dll which needs connection string to DB. I need a way to store/specify non clear text way to specify connection string for various environments. I have a way of doing this in clear text way using Slow Cheetah transformation but I need a way where the passwords are not clear text.

My issue is super common and I am surprised to see no solution/recommendation.

Please advice.

BeHappy
  • 138
  • 2
  • 17
  • On mobile atm or would explain more, but a google for “encrypt web.config” should help. – David Spence Oct 13 '17 at 19:36
  • @DavidSpense, I am not using IIS hosting. My DLL is super basic. – BeHappy Oct 13 '17 at 20:08
  • You don't have to be using IIS. The same applies for a console application and app.config. Potentially helpful: 1. https://stackoverflow.com/a/29177724/609176 2. https://learn.microsoft.com/en-us/dotnet/framework/data/adonet/connection-strings-and-configuration-files – David Spence Oct 13 '17 at 23:13

0 Answers0