保护天蓝色表存储连接字符串 [英] Securing azure table storage connection string

查看:78
本文介绍了保护天蓝色表存储连接字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何保护天蓝色表连接字符串?将其存储在代码内或配置文件中是不安全的.最佳做法是什么?我可以使用某种基于证书的身份验证吗?

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?

推荐答案

您可以加密配置文件的连接字符串部分.可以使用Visual Studio命令提示符来制作证书,该证书将用作加密密钥.获得证书后,可以将其添加到解决方案中并加密连接字符串部分.之后,在证书"选项卡中将证书上传到Azure.这是一个丑陋的过程,但还算不错. 此博客文章应包含所有内容您需要的详细信息.

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.

这篇关于保护天蓝色表存储连接字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆