completed util directory protection; fixes #136

This commit is contained in:
following 2013-05-16 15:36:14 +02:00
parent e0a405b6a3
commit 56d5d9f4f5
15 changed files with 65 additions and 0 deletions

9
.gitignore vendored
View File

@ -10,6 +10,15 @@
/htdocs/util/publish_caches/settings.inc.php
/htdocs/util/watchlist/settings.inc.php
# directory permissions
# these files are contained in the repo, but can be overriden locally
/htdocs/util/archive/.htaccess
/htdocs/util/attributes/.htaccess
/htdocs/util/change_owner/.htaccess
/htdocs/util/delete/.htaccess
/htdocs/util/mysql_root/.htaccess
/htdocs/util/search_index/.htaccess
# other data
/htdocs/cache/*
/htdocs/cache2/*

View File

@ -0,0 +1,4 @@
<FilesMatch "*">
Order Deny,Allow
Deny from All
</FilesMatch>

View File

@ -0,0 +1,4 @@
<FilesMatch "*">
Order Deny,Allow
Deny from All
</FilesMatch>

View File

@ -0,0 +1,4 @@
<FilesMatch "*">
Order Deny,Allow
Deny from All
</FilesMatch>

View File

@ -0,0 +1,4 @@
<FilesMatch "*">
Order Deny,Allow
Deny from All
</FilesMatch>

View File

@ -0,0 +1,4 @@
<FilesMatch "*">
Order Deny,Allow
Deny from All
</FilesMatch>

View File

@ -0,0 +1,4 @@
AuthUserFile /path/to/passwdfile/.htpasswd
AuthName "OC-Admin"
AuthType Basic
require valid-user

View File

@ -0,0 +1,4 @@
AuthUserFile /path/to/passwdfile/.htpasswd
AuthName "OC-Admin"
AuthType Basic
require valid-user

View File

@ -0,0 +1,4 @@
AuthUserFile /path/to/passwdfile/.htpasswd
AuthName "OC-Admin"
AuthType Basic
require valid-user

View File

@ -0,0 +1,4 @@
AuthUserFile /path/to/passwdfile/.htpasswd
AuthName "OC-Admin"
AuthType Basic
require valid-user

View File

@ -0,0 +1,4 @@
<FilesMatch "*">
Order Deny,Allow
Deny from All
</FilesMatch>

View File

@ -0,0 +1,4 @@
<FilesMatch "*">
Order Deny,Allow
Deny from All
</FilesMatch>

View File

@ -0,0 +1,4 @@
<FilesMatch "*">
Order Deny,Allow
Deny from All
</FilesMatch>

View File

@ -0,0 +1,4 @@
<FilesMatch "*">
Order Deny,Allow
Deny from All
</FilesMatch>

View File

@ -0,0 +1,4 @@
<FilesMatch "*">
Order Deny,Allow
Deny from All
</FilesMatch>