Re: Hidden connection string

From: Fabio Cozzolino [MCAD] (cozzolino.fabio_at_gmail.com)
Date: 01/31/05


Date: 31 Jan 2005 03:49:52 -0800

Hi,
you can use DPAPI Encryption. Look at this articles:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsecure/html/windataprotection-dpapi.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/secnetht07.asp

DPAPI ensure protection of strings by using simmetric encryption based
on current user store or machine store. You can build simple web tool
for encrypt database connection strings and copy the result string into
the web.config.

HTH
ciao
___________________________________
Fabio Cozzolino
Microsoft .NET MCAD



Relevant Pages

  • Can somebody point me in the right direction?
    ... of fix 10 character length pseudo-random strings ... There should be little probability of entering a random character string ... For what little I know about encryption I came up with this scheme that is ... At the second black box I would simply decrypt a string with the same ...
    (sci.crypt)
  • Problem with TEA implementation - help needed
    ... standard libraries for encryption. ... // # both take two parameters, a value and a key as strings, ... // # decrypt by 32 loops. ... private static function stringToHex:String { ...
    (sci.crypt)
  • Re: Help Encrypting Connection String
    ... configuration file. ... encrypt and decrypt arbitrary strings, so that will certainly work for what ... connection strings defined in the configuration if you want. ... >> The biggest decision for you here is how you want to store the encryption ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Can somebody point me in the right direction?
    ... of fix 10 character length pseudo-random strings ... For what little I know about encryption I came up with this scheme that is ... and nine so I would end up with one million ten character strings at the ... Put these in a database. ...
    (sci.crypt)
  • Urgent: Trouble with CAPICOM and Triple DES Encryption/Decryption
    ... I am using CAPICOM to encrypt/decrypt strings, but not sure why I am ... Here is the sample VB Code which does the Encryption and Decryption. ... Now, I don't understand, in all the three cases, my Password/Key is ...
    (microsoft.public.platformsdk.security)