summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-10 02:08:52 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-10 02:08:52 +0000
commite039fea66ed0371fc08097dad0f3a4208500422a (patch)
tree64bec01ed091d75632200d375dfbee0e38b16c12
parent15fe150564a702e557c97b7dd1b6b3b59a36cbe6 (diff)
Tightened httpd config security
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@499 4979c152-3d1c-0410-bac9-87ea11338e46
-rw-r--r--ledger-smb-httpd.conf19
1 files changed, 19 insertions, 0 deletions
diff --git a/ledger-smb-httpd.conf b/ledger-smb-httpd.conf
index 02237a0e..bc37e220 100644
--- a/ledger-smb-httpd.conf
+++ b/ledger-smb-httpd.conf
@@ -7,6 +7,10 @@ Alias /ledger-smb /some/path/to/ledger-smb/
Options ExecCGI Includes FollowSymlinks
Order Allow,Deny
Allow from All
+ <Files ~ "*\.conf$">
+ Order Deny,Allow
+ Deny from All
+ </Files>
</Directory>
<Directory /some/path/to/ledger-smb/users>
@@ -14,3 +18,18 @@ Alias /ledger-smb /some/path/to/ledger-smb/
Deny from All
</Directory>
+<Directory /some/path/to/ledger-smb/bin>
+ Order Deny,Allow
+ Deny from All
+</Directory>
+
+<Directory /some/path/to/ledger-smb/spool>
+ Order Deny,Allow
+ Deny from All
+</Directory>
+
+<Directory /some/path/to/ledger-smb/templates>
+ Order Deny,Allow
+ Deny from All
+</Directory>
+