سؤال

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