Welcome Guest, Not a member yet? Register   Sign In
moving php/application files outside of root folder
#1

[eluser]alexandervj[/eluser]
Hi,
I've heard a lot about how I should not keep my applications files in the webroot. I'm not sure exactly what this means - I have my folders set up like this

/ root
--applications (folder)
--assets (folder)
--system (folder)
--user guide (folder)
--htaccess
--index.php

How would I change my folder hierarchy to make it more secure? Thanks
#2

[eluser]CroNiX[/eluser]
By placing the system and/or the application dir somewhere outside of webroot, so they are not accessible via the url at all. Then just find the variables in index.php and set the paths for those dirs.

https://ellislab.com/codeigniter/user-gu...index.html
#3

[eluser]alexandervj[/eluser]
Thanks for the reply,
I guess my problem is that I put my codeIngiter application in a subdomain hosted by godaddy. If you make a "subdomain" in godaddy it basically just gives you an empty folder. I guess I have to figure out how to set up a webroot for a subdomain in an empty folder




Theme © iAndrew 2016 - Forum software by © MyBB