A free open source IT asset/license management system
Prevent direct viewing of .env file if installed in a subdirectory
snipeb2e5fa84ea69
diff --git a/.htaccess b/.htaccessnew file mode 100644index 0000000000..93ca6c0e48--- /dev/null+++ b/.htaccess@@ -0,0 +1,11 @@+<IfModule mod_rewrite.c>+ <IfModule mod_negotiation.c>+ Options -MultiViews+ </IfModule>++ # Make sure .env files not not browseable if in a sub-directory.+ <FilesMatch "\.env$">+ Deny from all+ </FilesMatch>++</IfModule>