How to encrypt/decrypt a file
- From: corey.burnett@xxxxxxxxx
- Date: 15 Feb 2006 08:22:07 -0800
I have a web application that allows users to download their data to a
file on their computer. Then at a later time they can upload the file
back to the web server and continue working. The file is in XML
format. I want to find a simple way to encrypt the file before I
stream it down to their computer. Then at a later time I will need to
decrypt it when they re-upload it. The user's do not have any type of
account on the server so I am assuming that I will need to use the same
key information for every file that I encrypt. I have done quite a bit
of reading on MSDN about cryptography and still can not make heads or
tails of it. All of the examples that I have seen seem to generate the
key on the fly every time. I need a solution where I store the key
somewhere on the server so that I can use it every time I need to
encrypt a file.
Can anyone point me to a simple example of how to encrypt a file using
a key stored somewhere on the server?
Thanks,
Corey
.
- Follow-Ups:
- Re: How to encrypt/decrypt a file
- From: Eric Johnson
- Re: How to encrypt/decrypt a file
- Prev by Date: ReflectionPermission weird behavior?
- Next by Date: Re: How to encrypt/decrypt a file
- Previous by thread: ReflectionPermission weird behavior?
- Next by thread: Re: How to encrypt/decrypt a file
- Index(es):
Relevant Pages
|