How to securely store a connection string in a WinForms application?

前端 未结 2 895
予麋鹿
予麋鹿 2020-11-30 10:38

I need to know what is the common way to store a SQL server connection string for a WinForms application in VB.NET.

I have searched the net and I found answers to ea

2条回答
  •  不知归路
    2020-11-30 11:05

    Simply , the .net framework allows you to do that , see

    http://msdn.microsoft.com/en-us/library/89211k9b(v=vs.80).aspx

    Relevant information:

    This goes into the machine.config file:

    
      
        

    UPDATE 1

    Thanks @wpcoder, for this link

提交回复
热议问题