I have an Application written in C# winform
and the database ( SQLSERVER EXPRESS
) is in AWS (Amazon Web Services).
I'm using a connection string like this:
namespace Datos
{
public class Configuracion
{
static private string cadenaConexion =
"Server=awsdb.ch13dwiieryvs.us-east-21.rds.amazonaws.com,1433;Database=dbforTest;User Id=UserName;Password=UserPass*;";
public static string CadenaConexion
{
get { return Configuracion.cadenaConexion; }
}
}
}
What options do I have to protect my connection data and travel safely every time a request is made to the server on the web? What I want is to achieve an encryption of my credentials or something similar. Is there a way to achieve it?