pranshu

Hello you can create a .htaccess file at the same place and write the below code.

# Disable index view
Options -Indexes

# Hide a specific file
<Files .env>
    Order allow,deny
    Deny from all
</Files>

Return to Thread...