asp.net - How to encrypt sensitive web.config appSettings -


  • I know that I can encrypt sections of my web.config to protect sensitive data.
  • I know that the machine is used to action / encrypt / decrypt.
  • I know that I am hosting in a web form so that my machine should be sticky .

But I think I remember this point. If I keep the machine in web.config, and I place the encrypted section in web.config, then how is it safe? Surely this is the best?

My scenario:
We are building web applications that are hosted in the cloud, they are developed and managed internally. The reason for the need to preserve the sensitive key is that we have settings that allow the use of third party tools (such as ESP, cloud storage, etc.). In the web .release.config conversion they are publicly visible, developers are free to connect with product services, open an element of risk.

If you can fill the gap in your logic, then it will be good. But what I am really about is the best practice suggestion for solving my problem.

I will add more information to the request.

In your case the solution is to use the main containers. You will have to make major containers, export it and Import into other systems where you need a key.

You can find out how you can do this here:


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -