在Web.config文件中加密Salesforce.com的用户名和密码 [英] Encrypt the username and password of Salesforce.com in Web.config file

查看:91
本文介绍了在Web.config文件中加密Salesforce.com的用户名和密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hai all,



我在我的asp.net项目中使用Salesforce.com帐户现在我使用普通登录凭证它的工作正常,但我想加密connectionstring中的详细信息我该怎么做。请帮助我紧急..谢谢你..

Hai all,

I using a Salesforce.com account in my asp.net project now i use ordinary login credential its working good but i want to encrypt that details in connectionstring how can i do it. Please help me its Urgent..Thank you..

推荐答案

嗨Sam路径,



我会建议你编写自己的加密/解密技术,并将其作为可运行的应用程序。也可以在其他项目中使用。

当然它会帮助你进行项目以及它会帮助你学习一点。



使用您自己的方法加密连接字符串并将其放在web.config中

从应用程序中读取加密的连接字符串。在应用程序中配置并在使用之前对其进行解密。



这会给你的经理留下深刻的印象; Wink ;-)



谢谢,

RK
Hi Sam path,

I would suggest you to write your own encryption/decryption technique and make it as run able application.Which can be used in other project also.
Sure it will help you in project as well as it would help you learn a bit.

Encrypt the connection string using your own method and put it in web.config
Read the encrypted connection string from app.config in application and decrypt it before using it.

This would impress you manager as well Wink ;-)

Thanks,
RK


这篇关于在Web.config文件中加密Salesforce.com的用户名和密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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