How to secure an azure table connection string? It is not safe to store it inside code or in a config file. What is the best practice? Can I use some kind of certificate based authentication?

有帮助吗?

解决方案

You can encrypt the connection strings section of the config file. A certificate can be made using the Visual Studio Command Prompt which will be used as an encryption key. Once you have the cert, you can add it to your solution and encrypt the connection strings section. After that, upload the cert to Azure in the certificates tab. It's an ugly process, but it's not too bad. This blog post should have all the details you need.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top