We have our RSA Key installed by DiscountASP support. Now how do I protect our web.config SQL Connection password? We have .NET 3.5 aspx web site.
Please see this Knowledge Base article: http://support.discountasp.net/KB/a938/how-to-encrypt-configuration-sections-your-webconfig.aspx
I followed the online tutorials concerning RSA and now have this error on web.config Line 27 when I go to our web site (ie... www.ourdomainname.com). Line 25: Line 26: <connectionStrings configProtectionProvider="MyRsaProtectedConfigurationProvider"> Line 27: <EncryptedData Type="http://www.w3.org/2001/04/xmlenc#Element" Line 28: xmlns="http://www.w3.org/2001/04/xmlenc#"> Line 29: <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc" /> Here's part of the web.config in question: <connectionStrings configProtectionProvider="MyRsaProtectedConfigurationProvider"> <EncryptedData Type="http://www.w3.org/2001/04/xmlenc#Element" xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc" /> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <EncryptedKey xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5" /> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>Rsa Key</KeyName> </KeyInfo> <CipherData>