sbornstein2
asked on
ASP.Net Web config want to encrypt one password key in it?
Hello all,
I have one appsetting key I want to encrypt in my web.config easiest way possible. How can I do that? I have done this before with a windows forms app on install package but for this app we release all the files we don't complete a package etc.
Thanks
I have one appsetting key I want to encrypt in my web.config easiest way possible. How can I do that? I have done this before with a windows forms app on install package but for this app we release all the files we don't complete a package etc.
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
maybe you you could move the appkey in a confi section and then encrypt this config section?
What is Google? -> Good question :-) : http://bit.ly/t3qmjp
What is Google? -> Good question :-) : http://bit.ly/t3qmjp
ASKER
Thanks this was good the aspnet_regiis did the trick. I am hoping to find an easier way to do a windows forms app as well. I have done this with creating an installer class and encrypt on install think I may have to do that but was hoping something the same with my app.config for a windows forms app. I tried using the aspnet_regiis thought it might work with Data Protection reg but doesn't seem to work.
ASKER