Re: Encrypt QueryString

From: Prasad (uma1@vsnl.com)
Date: 06/22/02


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
>
>



Relevant Pages

  • Re: File ENcryption Problem Detail
    ... > In addition, when u encrypt remotely (client to server), which users ... We can encrypt remotely (client to server, ... >>> it is able to encrypt file locally on the DC, ...
    (microsoft.public.win2000.security)
  • Re: Password encryption
    ... I have source code to the database including ODBC server and ... can encrypt the password before passing it to us so we can remain ignorant ... support for AD integration so that customers can logon to our database ... i.e. they enter it into the ODBC/JDBC client. ...
    (microsoft.public.windows.server.active_directory)
  • Re: File ENcryption Problem Detail
    ... In addition, when u encrypt remotely (client to server), which users account ... We can encrypt remotely (client to server, ... >>> servers for remote EFS. ...
    (microsoft.public.win2000.security)
  • Re: File ENcryption Problem Detail
    ... In addition, when u encrypt remotely (client to server), which users account ... We can encrypt remotely (client to server, ... >>> servers for remote EFS. ...
    (microsoft.public.win2000.security)
  • Re: A cryptography solution for a client/server winforms app
    ... You could use a self-signed cert deployed with the server ... code the client to ignore certificate trust errors. ... generate a hash value for the data in the memory stream. ... encrypt the memory stream. ...
    (microsoft.public.dotnet.security)