Solved

encrypt data when posting it to another site

Posted on 2004-09-06
5
170 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logiā€¦
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)

776 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