Solved

encrypt data when posting it to another site

Posted on 2004-09-06
5
168 Views
Last Modified: 2010-04-06
Hi
 
i have 2 sites that should communicate between each other
they are hosted seperatly on different server.

Let's say that in site A i have a form
once filled and submited
Site B should receive a copy of data filled in the forme

i site A, I thought about putting a script that redirect to site b, containt the values in a query string ,
ie : transmetsiteb.asp?name=ME&lastname=metoo?address=blablabla.....

I need to encrypt this code, ie:
transmetsiteb.asp?jfdgsfd56g4fdsgfd9s64g6fd5g45fd4g5fd4g5fd4g5fdg48sqdfdsfdsfgaZEZAERZA

And decrypt it i site B

And help ?
0
Comment
Question by:humer2000
  • 2
  • 2
5 Comments
 
LVL 5

Accepted Solution

by:
webtrans earned 500 total points
ID: 11988083
well using asp means
u can make great beneft of this article
it have the encryption and decryption function
(use encrypt function at ur site and decrypt at the other)
http://www.4guysfromrolla.com/webtech/110599-1.2.shtml
0
 
LVL 1

Author Comment

by:humer2000
ID: 11988131
is it obligatory to keep the key in a key file ?
can't we write in the encrypt asp page ie :
Const Key="/25a??f"

If yes
When should be changed in your read key routine
0
 
LVL 5

Expert Comment

by:webtrans
ID: 11988187
g_Key ="anyvariableuwant1234"
0
 
LVL 1

Author Comment

by:humer2000
ID: 12235973
sorry for being late to respond.
i have totally forgot this ticket open !
sorry again
the answer of Webtrans is OK
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

There are two main kinds of selectors in CSS: One is base selector like h1, h2, body, table or any existing HTML tags.  For instance, the following rule sets all paragraphs (<p> elements) to red: (CODE) CSS also allows us to define our own custom …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now