Options -Indexes

<FilesMatch "^(config\.php|api\.php)$">
    Order Allow,Deny
    Deny from all
</FilesMatch>

<Files "*.php">
    Order Allow,Deny
    Deny from all
</Files>

<Files "index.php">
    Order Allow,Deny
    Allow from all
</Files>

<Files "agent.php">
    Order Allow,Deny
    Allow from all
</Files>

<Files "admin_panel.php">
    Order Allow,Deny
    Allow from all
</Files>