Last active
May 11, 2020 08:25
-
-
Save peterjaap/65fb22723f32a79fbc11 to your computer and use it in GitHub Desktop.
.htaccess deny access to sensitive files Magento
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<FilesMatch "\.htaccess|config\.php|composer\.json|composer\.lock|vendor|\.gitignore|install\.php|cron\.sh|config|config\/deploy\.rb|scheduler_cron\.sh|downloader|scripts|shell|includes|dev|LICENSE.txt|LICENSE.html|RELEASE_NOTES.txt|\.htaccess\.sample|LICENSE_AFL.txt"> | |
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