Ask a Question related to ASP.NET Security, Design and Development.
-
Scott M. #1
Encrypted Connection String
How would I go about taking my DB connection strings and putting them into
my Web.Config file in encrypted form? Of course, I'd need to know how to
call and decrypt them from the various .aspx pages that need the info.
Thanks!
Scott M. Guest
-
ASP.NET 2.0 Encrypted Connection String
I have a question regarding the storage and encryption of connection string data within an ASP .Net application that I am writing. I am using ASP... -
Size of Entropy with Dpapi Encrypted Connection String
Hi. I'm using the dpapi to encrypt a sql server connection string. Strictly speaking how many bytes of entropy am I supposed to use?? Phil... -
Decrypt string encrypted with SHA1
No, it is not possible. SHA1 is a hashing algorithm and as any other hashing algorithm (e.g. MD5, SHA-256, etc) it does not support decryption. ... -
Encrypted connection to remote SQL SERVER
Hi, I am having trouble making an encryped connection to an sql server over the internet, and would really appreciate some help. I have tried to... -
Reinstaled, Lost profiles, encrypted files left encrypted
Bob; Are you sure it is not an Ownership issue: http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q308421& If the files are encrypted. If... -
MSFT #2
RE: Encrypted Connection String
Hi Scott,
Normmally, the client user can't access the web.config and we can consider
the connection string is safe without encryption. If you do want to encrypt
a string in web.config, you may take a look at classes in
System.Security.Cryptography Namespace:
[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/[/url]
frlrfSystemSecurityCryptography.asp
Luke
Microsoft Online Support
Get Secure! [url]www.microsoft.com/security[/url]
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
MSFT Guest
-
Scott M. #3
Re: Encrypted Connection String
Hi Luke. Thanks for your reply. The link you posted will be helpful. The
only comment I have is that "normally" the client user can't get the the
source code of the ASP.NET page either, but we don't consider putting
connection strings in them a safe thing to do so encryptioin AND using
web.config gives us a second and third line of defense.
"MSFT" <lukezhan@online.microsoft.com> wrote in message
news:VZMs8xtwDHA.3972@cpmsftngxa07.phx.gbl...consider> Hi Scott,
>
> Normmally, the client user can't access the web.config and we canencrypt> the connection string is safe without encryption. If you do want to[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/[/url]> a string in web.config, you may take a look at classes in
> System.Security.Cryptography Namespace:
>
>> frlrfSystemSecurityCryptography.asp
>
> Luke
> Microsoft Online Support
>
> Get Secure! [url]www.microsoft.com/security[/url]
> (This posting is provided "AS IS", with no warranties, and confers no
> rights.)
>
Scott M. Guest
-
Re: Encrypted Connection String
The November issue of MSDN magazine has an article on this
topic.will be helpful. The>-----Original Message-----
>Hi Luke. Thanks for your reply. The link you postedcan't get the the>only comment I have is that "normally" the client userconsider putting>source code of the ASP.NET page either, but we don'tencryptioin AND using>connection strings in them a safe thing to do soand we can>web.config gives us a second and third line of defense.
>
>
>
>"MSFT" <lukezhan@online.microsoft.com> wrote in message
>news:VZMs8xtwDHA.3972@cpmsftngxa07.phx.gbl...>> Hi Scott,
>>
>> Normmally, the client user can't access the web.configyou do want to>consider>> the connection string is safe without encryption. Ifin>encrypt>> a string in web.config, you may take a look at classesurl=/library/en-us/cpref/html/>[url]http://msdn.microsoft.com/library/default.asp?[/url]>> System.Security.Cryptography Namespace:
>>
>>and confers no>> frlrfSystemSecurityCryptography.asp
>>
>> Luke
>> Microsoft Online Support
>>
>> Get Secure! [url]www.microsoft.com/security[/url]
>> (This posting is provided "AS IS", with no warranties,>>> rights.)
>>
>
>.
>Guest



Reply With Quote

