Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Latest commit

 

History

History
executable file
·
9 lines (8 loc) · 320 Bytes

block-public-access.md

File metadata and controls

executable file
·
9 lines (8 loc) · 320 Bytes

Gitenc Usage - Block Public Access to Encrypted Files

If you're going to keep the .gpg files on a public server, ensure you add regex to prevent direct access - although they're encrypted, it's best not to tempt.

Apache 2.4+ example:

<FilesMatch "(?i)((\.yml|\.gpg))">
  Require all denied
</FilesMatch>