Thank you in Advance
--
Lets Learn and Make All Learn
> Could anyone suggest me an idea to encrypt the webconfig file's
> connection
> string in the framework 1.1.
Use any of the built-in methods in the System.Security.Cryptography
namespace:
http://msdn.microsoft.com/en-us/library/system.security.cryptography(VS.71).aspx
I'm curious as to why you need to do this...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net
here's a walkthrough from "Building Secure ASP.NET Applications"
http://msdn.microsoft.com/en-us/library/aa302403.aspx#secnetht08_step3
How To: Use DPAPI (Machine Store) from ASP.NET 1.1
--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net
"madhusrp" <madh...@discussions.microsoft.com> wrote in message
news:35FC91DD-2EF5-4D25...@microsoft.com...
>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
--
|\ _,,,---,,_ 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".
>>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...