J
Jonathan Wood
I've developing an online ordering system. However, in some cases, the order
will originate from another server. This means there needs to be a way to
securely passing the order information to my system.
Originally, I was going just pass the product ID. Then, my system can simply
look up the ID in the database. This is very secure because I read the data
straight from the database.
However, I see now that I need the ability to do a price override, where the
cost in addition to the product ID needs to be passed. This is more of a
problem as I don't want people creating their own Web pages that override
the price to 1 cent.
The way I'm thinking about doing this is by encrypting the data in a hidden
form variable. I haven't determine what encryption algorithm to use
yet--I'll probably just find something on the Web.
But this has me wondering: could a sophisticated user work around this? Is
there a better way?
Thanks.
Jonathan
will originate from another server. This means there needs to be a way to
securely passing the order information to my system.
Originally, I was going just pass the product ID. Then, my system can simply
look up the ID in the database. This is very secure because I read the data
straight from the database.
However, I see now that I need the ability to do a price override, where the
cost in addition to the product ID needs to be passed. This is more of a
problem as I don't want people creating their own Web pages that override
the price to 1 cent.
The way I'm thinking about doing this is by encrypting the data in a hidden
form variable. I haven't determine what encryption algorithm to use
yet--I'll probably just find something on the Web.
But this has me wondering: could a sophisticated user work around this? Is
there a better way?
Thanks.
Jonathan