Support the ongoing development of Laravel.io →
posted 9 years ago
Security
Last updated 2 years ago.
0

The best practice is to move all non-public files and folders to a directory that is not web accessible. If you can't do that (most hosts give that ability though), then you can protect files/folders via .htaccess (on apache). You can also clear that compiled file with:

php artisan clear-compiled
0

Sign in to participate in this thread!

Eventy

Your banner here too?

alenn-m alenn-m Joined 5 Mar 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.