RE: isPost isGet Security questions

2010-02-24 Thread Dave
PM To: CakePHP Subject: Re: isPost isGet Security questions Just make sure that you are using the security component and that your forms uses the POST method. everything will be handled automatically. as for using the $this->RequestHandler->isGet(), $this->RequestHandler- >isPost(), or $thi

Re: isPost isGet Security questions

2010-02-21 Thread harake
Just make sure that you are using the security component and that your forms uses the POST method. everything will be handled automatically. as for using the $this->RequestHandler->isGet(), $this->RequestHandler- >isPost(), or $this->RequestHandler->isAjax()... I do not use them because I do not re

isPost isGet Security questions

2010-02-19 Thread Dave
Is it best to secure the actions with if ( $this->RequestHandler->isGet() or $this->RequestHandler->isPost() implementation when dealing with forms? Using Ajax in my application so the Security component checking for form modification is of no use to me. And if using $this->RequestHandler->isGe