From 733e8b434ae9534702ef3878c90c4f4b681554af Mon Sep 17 00:00:00 2001 From: "mozilla%colinogilvie.co.uk" <> Date: Fri, 4 Apr 2008 11:48:22 +0000 Subject: Bug 337777: Typo at bottom; 'myslqd' should be 'mysqld' Patch by me; r=mkanat --- docs/en/xml/security.xml | 62 ++++++++++++++++++++++++++++++++++++------------ 1 file changed, 47 insertions(+), 15 deletions(-) (limited to 'docs') diff --git a/docs/en/xml/security.xml b/docs/en/xml/security.xml index 6b2dd5573..b6bd0bcc8 100644 --- a/docs/en/xml/security.xml +++ b/docs/en/xml/security.xml @@ -1,5 +1,5 @@ - + Bugzilla Security @@ -57,7 +57,7 @@ You will need to set the option - in localconfig to the group your web server runs + in localconfig to the group your webserver runs as. This will allow ./checksetup.pl to set file permissions on Unix systems so that nothing is world-writable. @@ -137,7 +137,7 @@
Network Access - If MySQL and your web server both run on the same machine and you + If MySQL and your webserver both run on the same machine and you have no other reason to access MySQL remotely, then you should disable the network access. This, along with the suggestion in , will help protect your system from @@ -171,19 +171,20 @@ skip-networking
- Web server + Webserver
Disabling Remote Access to Bugzilla Configuration Files - - There are many files that are placed in the Bugzilla directory - area that should not be accessible from the web server. Because of the way - Bugzilla is currently layed out, the list of what should and should not - be accessible is rather complicated. A quick way is to run - testserver.pl to check if your web server serves - Bugzilla files as expected. If not, you may want to follow the few - steps below. + There are many files that are placed in the Bugzilla directory + area that should not be accessable from the web. Because of the way + Bugzilla is currently layed out, the list of what should and should not + be accessible is rather complicated. A new installation method is + currently in the works which should solve this by allowing files that + shouldn't be accessible from the web to be placed in a directory outside + the webroot. See + bug 44659 + for more information. @@ -295,21 +296,52 @@ skip-networking properly blocked. Of particular interest is the localconfig file which contains your database password. Also, be aware that many editors create temporary and backup files in the working directory and that - those should also not be accessible. For more information, see + those should also not be accessable. For more information, see bug 186383 or Bugtraq ID 6501. - To test, simply run testserver.pl, as said above. + To test, simply point your web browser at the file; for example, to + test mozilla.org's installation, we'd try to access + . You should get + a 403 Forbidden + error. Be sure to check for instructions - specific to the web server you use. + specific to the webserver you use.
+ +
+ Using <filename>mod_throttle</filename> to Prevent a DOS + + + This section only applies to people who have chosen the Apache + webserver. It may be possible to do similar things with other + webservers. Consult the documentation that came with your webserver + to find out. + + + + It is possible for a user, by mistake or on purpose, to access + the database many times in a row which can result in very slow access + speeds for other users (effectively, a + DOS attack). If your + Bugzilla installation is experiencing this problem, you may install + the Apache module mod_throttle which can limit + connections by IP address. You may download this module at + . + Follow the instructions to install into your Apache install. + The command you need is + ThrottleClientIP. See the + documentation + for more information. +
+
-- cgit v1.2.3-24-g4f1b