Welcome Guest, Not a member yet? Register   Sign In
Codeigniter 4 security and best practices on live

(This post was last modified: 11-04-2019, 05:55 AM by ciadmin.)

Hi, I've went through the tutorial once more, but I still have the following issues with my project that bothers me:
1., the full file system is visible if I navigate to the root on my live server **REDACTED** which is disturbing since anyone will access anything stored there including keys and such. Thank God the app folder is not visible. I'd like not only to hide but make anything that's not in the routes to be inaccessible to users.
2., I could find ways to change the main controller's route for earlier versions of CI but not for CI4. Also I have read something that this is not to be modified due to the above file protection. So once I have uploaded my project to the live host, how can I setup the site to open the / listed in the routes without using the public/index.php/ url?

I have read that one has to modify the application root, but where is that in the project, so that the live host knows what to do with the site?

Thank you, have a great day!

Messages In This Thread
Codeigniter 4 security and best practices on live - by dgloria - 11-04-2019, 03:26 AM

Theme © iAndrew 2016 - Forum software by © MyBB