From 393377fd247f38d57a7324515b57fed5d84b28ff Mon Sep 17 00:00:00 2001
From: Joe Cianflone
For the best security, both the system and any application folders should be placed above web root so that they are not directly accessible via a browser. By default, .htaccess files are included in each folder to help prevent direct access, but it is best to remove them from public access entirely in case the web server configuration changes or doesn't abide by the .htaccess.
-After moving them, open your main
If you would like to keep your views public it is also possible to move the views folder out of your application folder.
+ +After moving them, open your main
One additional measure to take in production environments is to disable
--
cgit v1.2.3-24-g4f1b
From 0aaaeb071f9c5e795e5d3a39888c23cba5e8e738 Mon Sep 17 00:00:00 2001
From: kenjis If you wish to increase security by hiding the location of your CodeIgniter files you can rename the system and application folders
-to something more private. If you do rename them, you must open your main index.php file and set the $system_folder and $application_folder
+to something more private. If you do rename them, you must open your main index.php file and set the $system_path and $application_folder
variables at the top of the file with the new name you've chosen. For the best security, both the system and any application folders should be placed above web root so that they are not directly accessible via a browser. By default, .htaccess files are included in each folder to help prevent direct access, but it is best to remove them from public access entirely in case the web server configuration changes or doesn't abide by the .htaccess. If you would like to keep your views public it is also possible to move the views folder out of your application folder. After moving them, open your main After moving them, open your main
One additional measure to take in production environments is to disable
@@ -107,4 +107,4 @@ Next Topic: Upgrading from a Previous Versio