Re: Semi-bug, slight misdesign? GET requests. [message #14169 is a reply to message #14143] |
Thu, 06 November 2003 18:24 |
Anonymous
|
|
|
|
I wasn't concerned with security as much as I was about the behavior of browsers or proxies submitting more than one GET request for a resource that alters something permanently.
Regarding security, what I do now is something like this(generalized example):
<a href=" http://somewhere.net/somescript.php?action=lock&thread=4&k={special id}">
Where specialid is the md5sum of the session id, remote ip address, and some other unique things.
Then if the value of "k" read in somescript.php does not equal to the calculated special id, the request is denied.
I do something similar to this with POST requests. I guess it would be vaguely similar to using the verification aspects of URL sessions.
|
|
|