Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Store connection strings in a database
Message
 
 
À
26/10/2007 09:58:43
Information générale
Forum:
ASP.NET
Catégorie:
Securité
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01263961
Message ID:
01264476
Vues:
15
>Hi
>yes thats how I have it now, but having the connection strings in plain text is not best practice, one of the solutions I was reading about is to put them in a database, sounds a catch 22 situation :)


web.config is not plain text at run time. You may need to encrypt it using the Configuration class. I think you can encrypt just sections of it but am not positive.

Here is a link I found by googling 'encrypting web.config .net 2.0'

http://davidhayden.com/blog/dave/archive/2005/11/17/2572.aspx
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform