[Solved] Protect folders in CakePHP2


CakePHP does this automatically. If you try to access www.yoursite.com/css, it will try to access the “CssController”, which doesn’t exists, so it will throw an error – it won’t show your folder contents. The same goes for the rest.

2

solved Protect folders in CakePHP2