Encrypting Connection Strings in .config files RRS feed

  • Question

  • For a deployment on a customer site, we are looking into encrypting connection strings in the applications .config file. Reading the following article: msdn.microsoft.com/en-us/library/ms998283.aspx#paght000006_webfarmscenarios using aspnet_regiis.exe looks like its probably the way to achieve this.

    Concerns have been raised that this is for ASP.NET 2.0.  Can you confirm that this is still the current way to encrypt connection strings in the latest version (4.6) of .NET.

    If it is still the best way to encrypt the connection strings, are there any changes that we should be aware of between version 2.0 and 4.6.


    • Moved by Barry Wang Monday, September 28, 2015 5:42 AM ASP.NET related question
    Friday, September 25, 2015 9:48 AM