According to
http://support.microsoft.com/default...b;en-us;329290,
it looks like that this is restricted to particular sections :
When you apply the hotfix that is described in Microsoft Knowledge Base
article 329250 (see "References"), you can use encrypted data that is stored
in the registry instead of plain text in the following configuration
sections:
a.. <identity userName= password= />
b.. <processModel userName= password= />
c.. <sessionState stateConnectionString= sqlConnectionString= />
IMO, the best location is still the web.config file (this way you have all
settings in this unique file) possibly encrypted first...
Patrice
"Jason MacKenzie" <jm***************@formet.com> a écrit dans le message de
news:OL**************@TK2MSFTNGP09.phx.gbl...
That's actually where I got the idea but it doesn't seem to be working at
all:
I would like to do something like this:
<appSettings>
<add key="ConnString"
value="registry:HKLM\SOFTWARE\Intranet\ProjectTrac kingConfiguration,
ConnectionString" />
</appSettings>
"Patrice" <no****@nowhere.com> wrote in message
news:OI**************@TK2MSFTNGP11.phx.gbl... I saw once :
http://msdn.microsoft.com/library/de...itysection.asp
That said I don't know if the "registry:" syntax is only supported in
this particular case or is a general option. Let us know if you test
please...
Patrice
"Jason MacKenzie" <jm***************@formet.com> a écrit dans le message
de news:e8**************@TK2MSFTNGP11.phx.gbl... I store my connection string in the registry. Is it possible to access
this value from the web.config file? If so any help is appreciated.
Thanks,
Jason