Welcome Guest, Not a member yet? Register   Sign In
Best practices of security (place of index.php)
#2

[eluser]gRoberts[/eluser]
Because how CI is written, it's "harder" to extend or access code CI files unless they are loaded correctly.

This means, really, it makes no difference.

What I do however, if I can, is:

Code:
/
/htdocs
/htdocs/index.php
/system
/application

and then use, as you have:

Code:
$system_folder = '../system';
$application_folder = '../application';

This prevents anyone from accessing the files via the browser, making it a little more secure.


Messages In This Thread
Best practices of security (place of index.php) - by El Forum - 05-15-2012, 07:12 AM
Best practices of security (place of index.php) - by El Forum - 05-15-2012, 07:55 AM
Best practices of security (place of index.php) - by El Forum - 05-15-2012, 10:36 AM
Best practices of security (place of index.php) - by El Forum - 05-15-2012, 11:11 AM
Best practices of security (place of index.php) - by El Forum - 05-16-2012, 05:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB