Posts by Renato Matos • 1 point
1 post
-
-1
votes3
answers8626
viewsA: Protect folder from direct access
Create a index.php inside the folder, in this file redirect to a safe, home-like location of your website. <?php header("location: ../views/home.php");?>…