Using the "security" module I get a error: Fatal error: Class 'String' not found in D:\cake\1.2.6\cake\libs \controller\components\security.php on line 671
Use the following controller and the load the test method http://localhost/test/test Simple controller code: <?php class TestController extends AppController { var $uses = array(); var $components = array("RequestHandler", "Security"); function beforeFilter() { $this->Security->loginOptions = array("type" => "basic", "login" => "authenticate", "realm" => "TESTtest"); $this->Security->loginUsers = array(); $this->Security->allowedActions = array("test"); $this->Security->requireLogin("test"); } public function authenticate($args) { return false; } public function test() { echo "ok"; } } Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en