thanks Jon.

i reckon you might be right there.

it would be well worth a go. and then possibly attack it from the
other angle. include an attribute (array) within my controller that
could list those actions where it is not cool to do an auto-sanitize.

would be very nice to know that i am secure in most cases.

thanks for your feedback.

cheers,
freedom

On 23/08/06, Jon Bennett <[EMAIL PROTECTED]> wrote:
>
> > Now, I know it would be best practice to do this on a case by case
> > basis... but i was just curious if it would be possible and if anyone
> > currently employs it. and obviously if they did, what trouble they ran
> > in to along the way.
>
>
> don't see any reason why it wouldn't be possible
>
> /// app_controller.php
>
> function beforeFilter ()
> {
> $this->params = $this->Sanitize->cleanArray ($this->params);
> }
>
> you may run into issues though - just have to play and see :)
>
> hth
>
> jon
>
> --
>
>
> jon bennett
> t: +44 (0) 1225 341 039 w: http://www.jben.net/
> iChat (AIM): jbendotnet Skype: jon-bennett
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to