I have a Zend application hosted in a subdomain zend.example.com, my hosting provider makes a folder “zend” inside the public folder for the domain and this can not be changed, so I can access to my zend applicacion folder contents from the main domain, like example.com/application/Bootstrap.php where the “public” folder for the zend app would be called “zend” in order to comply with the hosting provider,
Is there a way (maybe with htaccess) that I can prevent access to the application folder contents? Thanks
I have a Zend application hosted in a subdomain zend.example.com, my hosting provider makes
Share
You can do block access to application, library and any other folder that should be private with something like this :