Deny access to a folder on hosting server but serve the pages
- by Sourav
My hosting server allows to host multiple websites.
The directory structure is like this
root
|_ www.a.com
|_ www.b.com
|_ www.c.com
|_ www.d.com
I want to put some PHP files on the www.d.com folder so if some one browse the site from web-browser can get it, but no one can get it's source code [even by loggin in to the root folder].
Is there any way to doing so ?
There is a feature called Password protect folder or so, can in help in this case ?