Friday, October 2, 2009

locking down components under Apache

It's easy to lock down an entire cake application by specifying a
AuthUserFile for the directory that contains the .htaccess for your
cake application. But, I'd like to lock down a particular component
(particularly all it's views). Any attempt to lock it down either by
adding an .htaccess file that specifies a AuthUserFile to particular
view directory, or setting it for the particular view directory in the
Apache httpd.conf, fails. No error, and there is no access
protection.

I know I could use the Auth component, however, this is just a small
admin feature that is not user facing, but that I don't want exposed
to teh world. Something htpasswd does well.

Thanks
Jon

--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: