Skip to content

Instantly share code, notes, and snippets.

@morrismukiri
Created March 14, 2016 13:06
Show Gist options
  • Save morrismukiri/45772d6d0c0d09dc02e6 to your computer and use it in GitHub Desktop.
Save morrismukiri/45772d6d0c0d09dc02e6 to your computer and use it in GitHub Desktop.
Prevent access to carelessly left backup files in a server
<FilesMatch "\.(ini|log|sh|zip)$">
Order Allow,Deny
Deny from all
</FilesMatch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment