J'ai inscrit le nom de ma base de données, mon nom d'utilisateur et mon mot de passe dans mon fichier web.config
comme chaîne de connexion.Cryptage de la chaîne de connexion dans le fichier web.config en C#
Je veux crypter ces données. Comment puis-je le faire?
<connectionStrings>
<add name="ISP_ConnectionString" connectionString="Data Source=JIGAR;
Initial Catalog=ISP;Integrated Security=True;
User ID=jigar;Password=jigar123;
providerName="System.Data.SqlClient" />
</connectionStrings>
Cela peut valoir le coup d'œil: http://www.beansoftware.com/ASP.NET-Tutorials/Encrypting-Connection-String.aspx – Brett