Deny access to a folder on hosting server but serve the pages

Posted by Sourav on Pro Webmasters See other posts from Pro Webmasters or by Sourav
Published on 2011-06-27T03:13:27Z Indexed on 2011/06/27 8:31 UTC
Read the original article Hit count: 251

Filed under:
|

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 ?

© Pro Webmasters or respective owner

Related posts about security

Related posts about webserver