EssaidiM EssaidiM - 1 year ago 139
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.

Answer Source

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
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download