Re: Protect admin page

2008-06-29 Thread Chris Hartjes
On Sun, Jun 29, 2008 at 9:16 AM, maxi [EMAIL PROTECTED] wrote: How I can setup password for admin menu? Use the Auth component. http://book.cakephp.org/view/172/authentication There are also lots of good tutorials out there for Auth, both on my blog (URL listed below) and elsewhere (find

Protect admin page

2008-06-28 Thread maxi
How can I deny display admin scripts if sameone call admin script in explorer... example: If someone who is not admin in explorer call this script http://localhost/vjezba_d/posts/admin_index that can not see this script --~--~-~--~~~---~--~~ You received

Re: Protect admin page

2008-06-28 Thread Jonathan Snook
If you have admin routing set up, you'll get an error page: Trying to access private method in class In your core.php you should have: Configure::write('Routing.admin', 'admin'); The same thing will happen when you set up prefix routing: Router::connect('/admin/:controller/:action/*',