PDA

View Full Version : Website Root


ianshouse
11-05-2007, 09:36 AM
I would like to hide some php files from public view. Is is possible to state which folder should become the root for my website?
eg "http://myaccount.ulmb.com" = "\\<server>\\Account\\FileManagerRoot\\WebSiteRoot\"
This will provide an extra level of file security. If you do not currently provide this feature, will you please consider it?

Tyler
11-05-2007, 03:27 PM
You dont need to do this, just make sure your php files are secure. IE: Don't echo anything you dont want to be show and your fine. When php files are shown on the web no code is shown (unless you tell it to).

This would be a complete change in the entire way the server and control panel works. And there is no need for it. 99.999% chance it wont ever happen.

ianshouse
11-05-2007, 04:14 PM
Thanks Tyler.
Is there access to an account specific config file so that I can exclude .inc files and such?

ianshouse
11-05-2007, 04:33 PM
I've done a test and I can see that it's already done. Thanks Guys!:)

UnlimitedMB
11-05-2007, 09:17 PM
Do not name any included files file.inc because the files source code can be viewed.

Name your included files file.php or file.inc.php