How can I encrypt a section of the Web.Config file that is NOT part of <connectionStrings>?
<configuration> <system.net> <mailSettings> <smtp deliveryMethod="Network"> <network host="x" port="25" password="x" userName="x"/> </smtp> </mailSettings> </system.net> I have seen tutorials http://davidhayden.com/blog/dave/archive/2005/11/17/2572.aspx which show how alternative methods for encryption using getSections, but they all sit in the <connectionString> section. This method has failed for me. Should it work? I can encrypt items in the <connectionStrings> section with no problem. I built a project using .Net membership http://msdn2.microsoft.com/en-us/library/879kf95c(VS.80).aspx which allows for sending mail. .Net application configuration tool hard codes this <mailSettings> section. It is not part of the <connectionStrings> section. thanks

