mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 10:08:45 +02:00
N°7331 - Ensure to keep folder browsing protection files after install/update command
This commit is contained in:
7
node_modules/.htaccess
generated
vendored
7
node_modules/.htaccess
generated
vendored
@@ -1,8 +1,11 @@
|
||||
# Allow only static resources files
|
||||
# - HTML not allowed as there could be some test pages calling server scripts or executing JS scripts
|
||||
# - PHP not allowed as they should not be publicly accessible
|
||||
|
||||
# Apache 2.4
|
||||
<ifModule mod_authz_core.c>
|
||||
Require all denied
|
||||
<FilesMatch ".+\.(css|scss|js|map|png|bmp|gif|jpe?g|svg|tiff|woff2?|ttf|eot|html|php)$">
|
||||
<FilesMatch ".+\.(css|scss|js|map|png|bmp|gif|jpe?g|svg|tiff|woff2?|ttf|eot1)$">
|
||||
Require all granted
|
||||
</FilesMatch>
|
||||
</ifModule>
|
||||
@@ -11,7 +14,7 @@ Require all denied
|
||||
<ifModule !mod_authz_core.c>
|
||||
deny from all
|
||||
Satisfy All
|
||||
<FilesMatch ".+\.(css|scss|js|map|png|bmp|gif|jpe?g|svg|tiff|woff2?|ttf|eot|html|php)$">
|
||||
<FilesMatch ".+\.(css|scss|js|map|png|bmp|gif|jpe?g|svg|tiff|woff2?|ttf|eot)$">
|
||||
Order Allow,Deny
|
||||
Allow from all
|
||||
</FilesMatch>
|
||||
|
||||
Reference in New Issue
Block a user