Re: Post -vs- Get

From: Date: Wed, 21 Mar 2001 10:33:19 +0000
Subject: Re: Post -vs- Get
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-44926@lists.php.net to get a copy of this message
> abc.com?client_no=5 > > Now even though if that person emails you that url, you won't gain > access to it bascause of authentication that is needed, what can happen > is an authorized user could change the 5 in the url to 8, and then see > the information that is there which belongs to client 8. > > Because of this I am thinking in this case I should be using the post > method instead of the get method. Even then a user could save the source code of your form, alter the POST information, and send it back with the same effect. You should probably look at having some kind of individualised authentication scheme rather than a blanket one, using sessions/cookies perhaps. POST alone is not the solution. Mick

« previous php.general (#44926) next »