On 9/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Can someone recommend a scheme for preventing a user from accessing a > private controller function, is this an ACL issue or something of that > nature?
If you prefix a function in a controller with an underscore (as in _foo()) then it cannot be accessed via the browser. Cake treats any controller function prefixed with _ as if it were private. -- Chris Hartjes Senior Developer Cake Development Corporation My motto for 2007: "Just build it, damnit!" @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
