Re: Making sure a post request came from your site
| From: | Chris Boget | Date: | Fri, 05 Apr 2002 18:26:22 +0000 |
| Subject: | Re: Making sure a post request came from your site | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-91770@lists.php.net to get a copy of this message | ||
> > Is there any way to determine from where the post request came
> > from w/o using http_referer?
> No, nor with it.
I know that http_referer is unviable, that's why I asked if you can find
out that data w/o using it.
> Someone who wants to mess with you can supply any HTTP
> referer they want to (using something like 'curl -e' or just creating the
> request by hand in a text editor).
Understood.
> You can never assume that submitted data is benign or untampered.
Ok, then how do you go about checking to make sure that submitted
data is, in fact, benign and acceptable for your use?
Chris