Re: Re: security question...??

From: Date: Sun, 10 Jul 2005 02:21:56 +0000
Subject: Re: Re: security question...??
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-218396@lists.php.net to get a copy of this message
Matthew Weier O'Phinney wrote:
The reason I ask is that (1) it shouldn't matter HOW the HTTP request is initiated. What *should* matter is that the page handles the request gracefully and returns something (HTTP headers only, or headers + page) as a result.
That's an interesting way of explaining that. I think I might try to come up with something similar, since this question comes up a lot. It seems clearer than any way that I've explained it in the past. Prior, when people asked me how to prevent spoofing forms, I would usually say something to the effect of, "don't worry about it," and throw in CSRF attacks as the only caveat. My point was that it shouldn't matter what the client sends, as long as it abides by your rules. Chris -- Chris Shiflett Brain Bulb, The PHP Consultancy http://brainbulb.com/

« previous php.general (#218396) next »