• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 729
  • Last Modified:

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
0
sbornstein2
Asked:
sbornstein2
  • 2
  • 2
1 Solution
 
mr-kennyCommented:
0
 
sbornstein2Author Commented:
It's not in a connection string or a config section just an app key.  What is Google?
0
 
mr-kennyCommented:
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
0
 
Obadiah ChristopherCommented:
0
 
sbornstein2Author Commented:
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.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now