Skip to content

Instantly share code, notes, and snippets.

@niraj-shah
Created September 12, 2024 10:38
Show Gist options
  • Save niraj-shah/0b02ba18d3f89adb1b5945b754ecc542 to your computer and use it in GitHub Desktop.
Save niraj-shah/0b02ba18d3f89adb1b5945b754ecc542 to your computer and use it in GitHub Desktop.
Block .env files with .htaccess
<Files .env>
Order allow,deny
Deny from all
</Files>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment