http://snook.ca/archives/servers/password_protect_admin/
- S


2009/5/26 Roman Brunnemann <[email protected]>

>
> Hi,
>
> I want to use the admin routes (this works) and protect the requests to
> e.g. admin/products/edit with .htaccess
>
> Given that everything is rewrited there is no real admin folder, so
> where do I have to place my .htaccess to tell, that users accessing a
> admin path have to make a normal authentication via .htpasswd files
>
>
> Thanks for your help.
> Roman
>
> To make everything 1000% clear: This is the peace of code of an
> .htaccess file I am looking a place for ;-)   :
>
> AuthName "Restricted area"
> AuthType Basic
> AuthUserFile /path/.htpasswd
> AuthGroupFile /dev/null
> require valid-user
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to