Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

ASP.Net Web config want to encrypt one password key in it?

Posted on 2012-08-24
5
Medium Priority
?
724 Views
Last Modified: 2012-08-25
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
Comment
Question by:sbornstein2
  • 2
  • 2
5 Comments
 
LVL 1

Accepted Solution

by:
mr-kenny earned 1060 total points
ID: 38329749
0
 

Author Comment

by:sbornstein2
ID: 38329787
It's not in a connection string or a config section just an app key.  What is Google?
0
 
LVL 1

Expert Comment

by:mr-kenny
ID: 38329886
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
 
LVL 20

Expert Comment

by:informaniac
ID: 38331970
0
 

Author Closing Comment

by:sbornstein2
ID: 38332733
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

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question