# Disable directory listing
Options -Indexes

# Deny access to all PHP files in the module
<FilesMatch "\.php$">
    Deny from all
</FilesMatch>

# Allow access to index.php
<Files "index.php">
    Allow from all
</Files>