# Includes Directory - Maximum Security
# Block all direct web access to include files

# Deny all access from web
Order Deny,Allow
Deny from all

# Block all file types
<FilesMatch ".*">
    Order Deny,Allow
    Deny from all
</FilesMatch>

# Security Headers
<IfModule mod_headers.c>
    Header set X-Robots-Tag "noindex, nofollow, noarchive, nosnippet"
</IfModule>

# No directory listing
Options -Indexes -ExecCGI

# Disable PHP execution (if mod_php)
<IfModule mod_php7.c>
    php_flag engine off
</IfModule>

# Block access to all files
<Files "*">
    Order Deny,Allow
    Deny from all
</Files>
