EssaidiM EssaidiM - 8 months ago 53
PHP Question

Private folder in codeigniter

I want to create a private folder in my codeigniter website, and I want to be able to access it in my code in order to upload or write files, but I don't want this folder to be visible or accessed by other visitors.


put this file in your folder you want to be private


<IfModule authz_core_module>
    Require all denied
<IfModule !authz_core_module>
    Deny from all