I'am wondering if it's really safe to use this structure of my web application.
WEBAPP Application Controllers Models Views ... Framework ... Core Public ... index.php
If I point a website root folder to the /public, so if someone comes to my web page i.e.:
www.mywebsite.com ... he will be accessing the
/public folder where the
index.php is located. My question is, will it be really that safe to not moving my application's core files into the
/public folder but into upper level instead ?
Or is it possible to access the
webapp/public/ folders by some hackers ?