davej Posted April 14, 2012 Report Share Posted April 14, 2012 Ok, when I log into my account at the hosting service I see a directory structure like this... /contains...mydomain.netmyotherdomain.net mydomain.netcontains...datalogswwwroot When I create the database will that create another folder in "/" or in "mydomain.net" or in "data" ? Thanks. Link to comment Share on other sites More sharing options...
thescientist Posted April 15, 2012 Report Share Posted April 15, 2012 (edited) It should be at the root domain level. I believe that databases (or at least mySQL) are then usually accessed via a port, like 8889. Edited April 15, 2012 by thescientist Link to comment Share on other sites More sharing options...
justsomeguy Posted April 16, 2012 Report Share Posted April 16, 2012 That's a setting on the server, it may add files to your data directory or they may be stored somewhere else. Link to comment Share on other sites More sharing options...
davej Posted April 18, 2012 Author Report Share Posted April 18, 2012 I guess what I had not given much thought to until now was the public/private nature of the folders. Even though I can hide the contents of the public folders it is still possible for anyone to download any file if they know or can guess the filename. So to control file downloads they would have to be stored in the private folders or inside the database. Link to comment Share on other sites More sharing options...
justsomeguy Posted April 18, 2012 Report Share Posted April 18, 2012 You can also set up the server to require authentication for certain folders or files. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now