mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 07:44:35 +02:00
Merge branch 'ent-5361-vulnerabilidad-subir-ficheros' into 'develop'
adding .htaccess files See merge request artica/pandorafms!3026
This commit is contained in:
commit
6c93fcfe02
2
pandora_console/.htaccess
Normal file
2
pandora_console/.htaccess
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# pandora disable listing
|
||||||
|
Options -Indexes
|
@ -1,3 +1,11 @@
|
|||||||
Order deny,allow
|
#Order deny,allow
|
||||||
Deny from All
|
#Deny from All
|
||||||
|
#Allow from localhost
|
||||||
|
|
||||||
|
#pandora disable phpexec
|
||||||
|
<FilesMatch "\.(txt|php)$">
|
||||||
|
Deny from all
|
||||||
Allow from localhost
|
Allow from localhost
|
||||||
|
</FilesMatch>
|
||||||
|
php_flag engine off
|
||||||
|
|
||||||
|
5
pandora_console/images/.htaccess
Normal file
5
pandora_console/images/.htaccess
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#pandora disable phpexec
|
||||||
|
<Files *.php>
|
||||||
|
Deny from all
|
||||||
|
</Files>
|
||||||
|
php_flag engine off
|
Loading…
x
Reference in New Issue
Block a user