This is the only folder users need to access. Users don't need to access other folders because other folders are used indirectly to make the web app work. We have created template files and these template files are indirectly accessed through the index.php in this webroot folder.
webroot folder -> Should be accessible by users.So, to deploy the cakephp webapp, upload all of the files of cakephp to the server. Set permission accordingly and maybe change DorumentRoot of apache (in httpd.conf) to
other folders -> Should not be accessible by users.
DocumentRoot "/var/www/html/cake/webroot"
so that the webroot folder is used as index of the server.