I have been able to run though this example and get it working: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/paght000006.asp
However, what parts should i keep and delete in the web.config? Also, how does the code change when accessing it?
Currently all i am trying to encrypt is
<smtp deliveryMethod="Network" from="firstname.lastname@example.org" >
host="there.this.that" userName="them" password="dunno" />
Later when i put in a database i will need to do that connection string aswell. Currently I only need the <network.. to be encrypted. I have tried this example and it seems to put the new encrypted text in connection strings. Do i leave them in there or do i move it to smpt? Also, is there anywhere in the web.config that let's the program know what parts the encryption is for and what type of encryption it is using?
Thanks, this is kind of baffling me, but it seems like a 'do it once' and u'll know it forever type of thing.