문제

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