I have finished building a web app which uses the combination PHP
,Mysql
,HTML
and CSS
. I am hosting this on apache
installed on Ubuntu 12.0 (in the var/www/
as root folder). This means the web app will be hosted locally on the clients Computer.
This also means the client has access to the php files which is located in the var/www/
folder, now the problem here is that, he can directly copy,delete or edit the php files as and when he wants, which is not supposeto be so.
I do not want the client to be able to access the files directly from the folder although he should be able to access the files locally using a browser.
I was thinking if there is a way to hide files from everybody or better still a folder lock which can be only accessed using a password and non password when accessed through the browser.
I can't seem to figure a better solution after a lot of research, I would be grateful if somebody with an idea on this can help. Thanks so much for helping