# Deny access to all temporary files
Order Deny,Allow
Deny from all

# Prevent directory listing
Options -Indexes

# Only allow PHP to access these files
<FilesMatch "\.(php|inc)$">
    Order Deny,Allow
    Deny from all
</FilesMatch>