473,385 Members | 1,907 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Encryption / obfuscation of form variables

Hi,

I mainly use PayPal for eCommerce, but one of the features which I don't
like is the fact that you pass shopping cart data to their payment gateway
by means of hidden form variables, e.g.

<form id=paypal>
<input type="hidden" name="business" value="pa****@markrae.com">
<!--other hidden fields representing the items in the shopping cart-->
</form>

Although I generate the client-side form tag dynamically server-side, I'm
still not happy about these form variables being human-readable. The main
problem, apart from spamming of course, is that someone could easily click
View Source, copy and paste the form tag and all its contents into a new web
page, change the prices of the items in the cart, and submit the form.

Of course, I do verify all purchases before the goods are dispatched so I do
prevent fraud in that way but, assuming that "prevention is better than
cure", I'd inifinitely prefer not to give potential fraudsters the ability
to hack my View Source contents.

I've looked at some so-called "encryption" options which are, frankly,
rubbish: http://www.dynamicdrive.com/dynamicindex9/encrypter.htm is a case
in point. That doesn't encrypt anything, it just esapes the test!

Other sites (e.g. http://automaticlabs.com/products/enkoder) provide much
better encryption, but they don't support dynamic interaction. I'm looking
for a solution which will allow me to create the <form> tag dynamically,
then encrypt it in real-time.

PayPal do have a webservice-based gateway, but that's available only to US
account holders at the moment. As soon as that's available to UK account
holders, then all of the above will be academic.

However, in the meantime, I'd be grateful to know of any decent client-side
encryption techniques which fit within an ASP.NET solution.

Any assistance gratefully received.

Mark
Nov 20 '05 #1
0 1149

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Google Mike | last post by:
Of course, one could always use other kinds of encryption/encoding/obfuscation techniques such as XOR complement, but this example provides an extremely secure version using methods like Blowfish,...
6
by: Ian N | last post by:
Hi, I've had to quickly servers and need to turn an ASP script into PHP, i got the original script from: - http://www.4guysfromrolla.com/webtech/012000-1.shtml Does anyone know of a PHP...
10
by: joshsackett | last post by:
I am starting an encryption project for my database and I'm performing some tests on decryption speed. A lot of my application queries use a LIKE parameter in the WHERE clause. To keep from...
159
by: petantik | last post by:
Are there any commercial, or otherwise obfuscators for python source code or byte code and what are their relative advantages or disadvantages. I wonder because there are some byte code protection...
113
by: Bonj | last post by:
I was in need of an encryption algorithm to the following requirements: 1) Must be capable of encrypting strings to a byte array, and decyrpting back again to the same string 2) Must have the same...
1
by: David | last post by:
One thing that's always puzzled me about implementing encryption on remote asp.net apps is where to store the keys. The demo code indicate that you include them in a configuration file, but this...
11
by: the other john | last post by:
I've been looking for a solution for this and have seen some approaches but none that seem appropriate for what I'm trying to do. This is what I need... I'm trying to encrypt query strings....
5
by: OFM | last post by:
I am running an oracle database with the application written in PHP. I would like to be able to have the option to encrypt data residing in certain columns in certain tables i.e. encrypt the SSNO...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.