I am developing an ASP.Net Web forms Application. Code audit done by an external team and the resulting document shows Connection String Parameter pollution in Data access code.
The connection string is as follows.
<add name="SqlConString" connectionString="Data Source=AccDb;Initial Catalog=TestDb;uid=sa;pwd=abcd;Integrated Security=true;" providerName="System.Data.SqlClient"/>
As per suggestions, the connection string is encrypted using:
aspnet_regiis -pef "connectionStrings" "xxxx"
In DAL, the data access code is enclosed within
using (SqlCon = new SqlConnection(ConnStringSql))
But none of these fixes helped to pass the code audit