Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connection string out in the open, encrypting the connec
Message
From
07/08/2007 04:48:00
 
 
To
06/08/2007 15:30:40
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01246255
Message ID:
01246409
Views:
27
mmAppConfiguration.SetEncryption ?

Note to Kevin:
The docs state : !The class also provides the ability to encrypt keys by implementing a custom constructor that passes a field list and an encryption key to be used for encrypting one or more keys in the configuration" but the overload isn't documented......


>I’ve been poking around the help file and can’t seem to find a straight forward answer to what I would hope is a common question. Mere Mortal reads the database connection information from the appconfig file. This is all wide out in the open in plain text for the whole world to see by default ( for those of you that cant read between the line IMHO this is a VERY bad practice). Considering that I’d like to keep my job for a few more years I’ll need to put some type of encryption on this. I don’t need anything earth shacking that would take a Cray II 200 years to crack but something better than plain English is a must. Is there a way to do this built into the framework and if so where do I find an example in the help file? If this isn’t in the help file could it be added?
>
>Thanks
>Brian Grant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform