Link to home
Start Free TrialLog in
Avatar of sbornstein2
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
ASKER CERTIFIED SOLUTION
Avatar of mr-kenny
mr-kenny
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sbornstein2
sbornstein2

ASKER

It's not in a connection string or a config section just an app key.  What is Google?
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
Avatar of Obadiah Christopher
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.