1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-05 10:49:37 +02:00

Disable php included files direct access

This commit is contained in:
Afterster 2014-01-18 11:00:43 +01:00
parent 8fdbcce0fa
commit bde6890f9f
6 changed files with 17 additions and 2 deletions

View file

@ -1 +1,2 @@
Order deny,allow
Deny from all Deny from all

View file

@ -1 +1,2 @@
Order deny,allow
Deny from all Deny from all

2
lib/.htaccess Normal file
View file

@ -0,0 +1,2 @@
Order deny,allow
Deny from all

1
lib/javascript/.htaccess Normal file
View file

@ -0,0 +1 @@
Allow from all

5
modules/.htaccess Normal file
View file

@ -0,0 +1,5 @@
Order deny,allow
Deny from all
<Files ~ "\.css$|\.js$|\.png$|\.gif$|\.jpg$|\.swf$|\.ttf$|\.json$|\.xml$|\.htc$">
Allow from all
</Files>

5
templates/.htaccess Normal file
View file

@ -0,0 +1,5 @@
Order deny,allow
Deny from all
<Files ~ "\.css$|\.gif$">
Allow from all
</Files>