![]() |
Encrypt and Decrypt ConnectionString inside web.config...
Hi everybody,
How exactly do you Encrypt and Decrypt, using Cryptography, ConnectionString inside web.config programmatically in .Net Framework 1.0 and 1.1? Please provide codes. Thanks. den2005 -- MCP Year 2005, Philippines |
Re: Encrypt and Decrypt ConnectionString inside web.config...
you can use DPAPI for that -
find a wrapper here: http://www.leastprivilege.com/DPAPITools.aspx > Hi everybody, > > How exactly do you Encrypt and Decrypt, using Cryptography, > ConnectionString inside web.config programmatically in .Net Framework > 1.0 and 1.1? Please provide codes. Thanks. > > den2005 > |
Re: Encrypt and Decrypt ConnectionString inside web.config...
Thanks for info, Dominic, but I know there is a DPAPI but right now trying
other approach. Dennis -- MCP Year 2005, Philippines "Dominick Baier" wrote: > you can use DPAPI for that - > > find a wrapper here: > > http://www.leastprivilege.com/DPAPITools.aspx > > > > Hi everybody, > > > > How exactly do you Encrypt and Decrypt, using Cryptography, > > ConnectionString inside web.config programmatically in .Net Framework > > 1.0 and 1.1? Please provide codes. Thanks. > > > > den2005 > > > > > |
Re: Encrypt and Decrypt ConnectionString inside web.config...
aha - which approach??
why? dominick > Thanks for info, Dominic, but I know there is a DPAPI but right now > trying other approach. > > Dennis > > "Dominick Baier" wrote: > >> you can use DPAPI for that - >> >> find a wrapper here: >> >> http://www.leastprivilege.com/DPAPITools.aspx >> >>> Hi everybody, >>> >>> How exactly do you Encrypt and Decrypt, using Cryptography, >>> ConnectionString inside web.config programmatically in .Net >>> Framework 1.0 and 1.1? Please provide codes. Thanks. >>> >>> den2005 >>> |
Re: Encrypt and Decrypt ConnectionString inside web.config...
Hi Dominick
Approach I am doing is using descryptoserviceprovider to encrypt and decrypt it, having problem in decrypt it back, implementing key and IV data to make it uniform, but unable to use stored the dll library object in Session variable, and need to do write these data in a file...that is approach I am doing now, after this try using DPAPI. I have not seen the downloaded file from link you provided, it is in detail how to use it for encryption and decryption of web.config connection string? Thanks Dennis -- MCP Year 2005, Philippines "Dominick Baier" wrote: > aha - which approach?? > > why? > > dominick > > > Thanks for info, Dominic, but I know there is a DPAPI but right now > > trying other approach. > > > > Dennis > > > > "Dominick Baier" wrote: > > > >> you can use DPAPI for that - > >> > >> find a wrapper here: > >> > >> http://www.leastprivilege.com/DPAPITools.aspx > >> > >>> Hi everybody, > >>> > >>> How exactly do you Encrypt and Decrypt, using Cryptography, > >>> ConnectionString inside web.config programmatically in .Net > >>> Framework 1.0 and 1.1? Please provide codes. Thanks. > >>> > >>> den2005 > >>> > > > |
| All times are GMT. The time now is 09:29 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.