Ask a Question related to ASP.NET Security, Design and Development.
-
Morten Brun #1
Storing a cryto key in .Net
Hi
I am looking for some good suggestions to store a cryto key with my
new Asp.Net application using Triple Des to encrypt data. The database
is on SQL2000 server..
My first idea was to store the key within the program, but as programs
can be easily obfuscated this is probably a bad idea.
Any suggestion will be highly appreciated.
Morten
Morten Brun Guest
-
Why not storing
Hy Everybody I am new to FMS and I am trying to build small applications like chatting, audio recording etc. I am stuck at the audio recording... -
Storing value from XML into a variable
There is a combo-box by the name "cbJobs" and it gets its value from the XML file named "data.xml".. I want to store the value transferred from this... -
Storing PDF In SQL Database
Using the following code I'm able to store some PDFs in a database. Step 1: Write the contents of a PDF file to a variable. Step 2: Store the PDF... -
Storing Cookies
Hi all, Anyone know of any special issues with storing cookies with ASP? I'm trying this with two browsers: One is IE 6.0 with cookies set to... -
storing an array in a db
I know your first reaction will be "WHY?!?!" But can it be done? Can I store a php array in a postgresql database? -- Alexander Ross... -
Ram Sunkara [msft] #2
Re: Storing a cryto key in .Net
Use DPAPI.
Make a command line executable that writes a DPAPI blob into your
application configuration file. Let your application decrypt the DPAPI blob
as when required to encrypt or decrypt.
Deploying your application will now include running this executable in all
the target machines.
Put this command line executable in share and give execute only permissions
to all the authorized users, explicitly deny coping this executable.
Ram-
"Morten Brun" <morten@pconsult.dk> wrote in message
news:16obpv005egijsjtf9ntdmcjbpq87f2sqs@4ax.com...> Hi
>
> I am looking for some good suggestions to store a cryto key with my
> new Asp.Net application using Triple Des to encrypt data. The database
> is on SQL2000 server..
>
> My first idea was to store the key within the program, but as programs
> can be easily obfuscated this is probably a bad idea.
>
> Any suggestion will be highly appreciated.
>
> Morten
>
>
Ram Sunkara [msft] Guest
-
Morten Brun #3
Re: Storing a cryto key in .Net
Hi Ram
Thanks your suggestion, which unfortunately does not fit my purpose,
however have found some good MSDN articles on DAPI so there might be a
solution in this.
Morten
"Ram Sunkara [msft]" <ramsun@online.microsoft.com> wrote:
>Use DPAPI.
>
>
>
>Make a command line executable that writes a DPAPI blob into your
>application configuration file. Let your application decrypt the DPAPI blob
>as when required to encrypt or decrypt.
>
>
>
>Deploying your application will now include running this executable in all
>the target machines.
>
>
>
>Put this command line executable in share and give execute only permissions
>to all the authorized users, explicitly deny coping this executable.
>
>
>
>Ram-
>
>"Morten Brun" <morten@pconsult.dk> wrote in message
>news:16obpv005egijsjtf9ntdmcjbpq87f2sqs@4ax.com.. .>>> Hi
>>
>> I am looking for some good suggestions to store a cryto key with my
>> new Asp.Net application using Triple Des to encrypt data. The database
>> is on SQL2000 server..
>>
>> My first idea was to store the key within the program, but as programs
>> can be easily obfuscated this is probably a bad idea.
>>
>> Any suggestion will be highly appreciated.
>>
>> Morten
>>
>>Morten Brun Guest
-
Alek Davis #4
Re: Storing a cryto key in .Net
Morten,
Maybe this article can give you some suggestions:
[url]http://msdn.microsoft.com/msdnmag/issues/03/11/ProtectYourData/default.aspx[/url]
Alek
"Morten Brun" <morten@pconsult.dk> wrote in message
news:16obpv005egijsjtf9ntdmcjbpq87f2sqs@4ax.com...> Hi
>
> I am looking for some good suggestions to store a cryto key with my
> new Asp.Net application using Triple Des to encrypt data. The database
> is on SQL2000 server..
>
> My first idea was to store the key within the program, but as programs
> can be easily obfuscated this is probably a bad idea.
>
> Any suggestion will be highly appreciated.
>
> Morten
>
>
Alek Davis Guest



Reply With Quote

