look at this thread
<http://groups.google.com/group/cake-php/browse_thread/thread/9b3106780fb861ec/9b2bd7e3c3597f8f?lnk=gst&q=requestAction+controller&rnum=35#9b2bd7e3c3597f8f>
if($this->params['requested'] === true){
//do your thing here
}
On 3/25/07, Richard Uren <[EMAIL PROTECTED]> wrote:
> Hi Bakers,
>
> First off let me say cake rocks. I've been baking for about 2 weeks now and
> I'm loving it.
>
> I've got a best practice question for y'all.
>
> Whats the _best_ way to secure my controller's public actions such that I
> can requestAction on them form other controllers but prevent users from
> calling those public actions directly (via URLs) ?
>
> Thanks.
>
> Cheers
> r
>
>
>
>
> >
>
--
(the old fart) the advice is free, the lack of crankiness will cost you
- its a fine line between a real question and an idiot
http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---