CodeIgniter Forums
Where to put System & Application Folders - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Where to put System & Application Folders (/showthread.php?tid=55533)



Where to put System & Application Folders - El Forum - 10-31-2012

[eluser]Unknown[/eluser]
Hi All
Forgive me if this is a stupid question but the advice for best security practice is to place the system and application folders above the web root which is no problem. One thing I can't get my head around at the moment though is I am advised to put the Application folder out of the public domain which files do I leave in the public folder for people to access?

Any advice would be much apprectiated for an obvious newb.

Cheers


Where to put System & Application Folders - El Forum - 11-01-2012

[eluser]rogierb[/eluser]
-- system folder
-- application folder
-- secure documents
-- public domain
-- -- css
-- -- img
-- -- js
-- -- downloads
-- -- documents
-- -- index.php

something like the above is ok. You leave css, js, images and everything that is freely accessible.
Everything that has to be secured you put above the public domain.