N
Nick
I have the need to return some data back to the server when a Submit button
is pressed on a web page. However I dont want anybody to know about the
mechanism for sending the data back, becase it could be open to abuse. For
example, if I do some javascript on the submit button, which gets this
"seceret" information and munges it onto the Action property of a Form tag,
anyone with a basic understanding of javascript would be able to work out
how to spoof my site.
While the user is viewing a certain web page, they click certain things and
this is to be tracked and returned to the server. However this is a kind of
betting site, and it is important I circumvent any abilities to cheat.
Seeing how data is submitted would be one way people could learn to cheat.
One idea I had was to include a flash object, and talk to the flash object.
Then when submit is invoked, get the data out and send. But this idea fails
because at the submit point, I still have to get the data out and munge it
for sending, which is no different from above really.
Does anyone have any idea on how I could solve this problem?
is pressed on a web page. However I dont want anybody to know about the
mechanism for sending the data back, becase it could be open to abuse. For
example, if I do some javascript on the submit button, which gets this
"seceret" information and munges it onto the Action property of a Form tag,
anyone with a basic understanding of javascript would be able to work out
how to spoof my site.
While the user is viewing a certain web page, they click certain things and
this is to be tracked and returned to the server. However this is a kind of
betting site, and it is important I circumvent any abilities to cheat.
Seeing how data is submitted would be one way people could learn to cheat.
One idea I had was to include a flash object, and talk to the flash object.
Then when submit is invoked, get the data out and send. But this idea fails
because at the submit point, I still have to get the data out and munge it
for sending, which is no different from above really.
Does anyone have any idea on how I could solve this problem?