
Signature
Mark Rae
ASP.NET MVP
http://www.markrae.net
>I'm curious as to why you need to do this...
It is always prudent to encrypt sensitive information and connection
strings fall into this category. Given that MS have provided an API
and method of doing this they obviously feel the same way.
Cheers,
Mark

Signature
|\ _,,,---,,_ A picture used to be worth a
ZZZzzz /,`.-'`' -. ;-;;, thousand words - then along
|,4- ) )-,_. ,\ ( `'-' came television!
'---''(_/--' `-'\_)
Mark Stevens (mark at thepcsite fullstop co fullstop uk)
This message is provided "as is".
Mark Rae [MVP] - 09 May 2008 10:55 GMT
>>I'm curious as to why you need to do this...
>
> It is always prudent to encrypt sensitive information and connection
> strings fall into this category.
Are you worried that someone might hack your server and steal a copy of
web.config? If so, then the file's contents are surely the least of your
worries...
> Given that MS have provided an API and method of doing this they
> obviously feel the same way.
The Cryptography namespace is not *just* for web.config - it can be used to
encrypt anything...

Signature
Mark Rae
ASP.NET MVP
http://www.markrae.net