“Untrusted initialization” flaw - while creating SQL Connection

后端 未结 2 1082
一向
一向 2021-01-18 04:27

I have done the following...

private static IDbConnectionProvider CreateSqlConnectionProvider(DbConfig dbConfig)
{
    return new QcDbConnectionProvider(() =         


        
2条回答
  •  没有蜡笔的小新
    2021-01-18 04:57

    The most important for connection strings is how they are stored. If they are stored in plaintext, this poses a security risk. So, it is advisable to store them in encrypted format and in application decrypt and use it.

提交回复
热议问题