# Block direct web access to the private key, passphrase, encrypted files,
# the CLI script and the templates. Only pgp-decrypt.php should be reachable.

<FilesMatch "\.(asc|pgp|gpg|sh|example)$|^passphrase\.txt$|^\.gitignore$">
    # Apache 2.4+
    <IfModule mod_authz_core.c>
        Require all denied
    </IfModule>
    # Apache 2.2 fallback
    <IfModule !mod_authz_core.c>
        Order allow,deny
        Deny from all
    </IfModule>
</FilesMatch>
