Re: Encrypt QueryString
From: Prasad (uma1@vsnl.com)
Date: 06/22/02
- Next message: Prasad: "Re: No RSACryptoServiceProvider? Help! I've tried it all!!!"
- Previous message: MD: "storing documents external or in the database"
- In reply to: David Adams: "Encrypt QueryString"
- Next in thread: Peter Bromberg: "Re: Encrypt QueryString"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Prasad" <uma1@vsnl.com> Date: Sat, 22 Jun 2002 20:46:26 +0530
If the client is Dotnet enabled i.e. if the user's system has dotnet
framework redistributable installed, you can write a small dll file and
embed it in the page, which can take the querystring values, encrypt them
and send them to the server. The servers should decrypt the values and use
them. If you want sample code you may write to me.
The server should create an RSA Key and send the Public portion of the key
as a parameter to the dll and retain the Private key in the session
variable. The client will generate a DES Key and encrypt the data using the
DES Key and then send the encrypted data together with the DES Key, which
will be encrypted using the RSA Public Key from the server. (Quite a
tantalizing solution, isn't it?)
Prasad DV
"David Adams" <mel1daa@hotmail.com> wrote in message
news:#ayJVdaGCHA.2584@tkmsftngp08...
> Hi all,
>
> Is there a way to easily encrypt a QueryString with .NET? I have a
datagrid
> with 30 rows of data that have a hyperlink to user information
> (userinfo.aspx?ID=1234). I would simply like to have an encryption method
> that I can use to quickly encrypt and decrypt this value with little
> overhead.
>
> Any suggestions would be appreciated!
>
> Dave
>
>
- Next message: Prasad: "Re: No RSACryptoServiceProvider? Help! I've tried it all!!!"
- Previous message: MD: "storing documents external or in the database"
- In reply to: David Adams: "Encrypt QueryString"
- Next in thread: Peter Bromberg: "Re: Encrypt QueryString"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|