diff --git a/Documentation.html b/Documentation.html index daa702fcc..d0a87af3f 100644 --- a/Documentation.html +++ b/Documentation.html @@ -298,11 +298,12 @@ chmod o-rw config.inc.php # remove world read and write permissions and your databases, or a login dialog if using HTTP or cookie authentication mode. -
  • You should deny access to the ./libraries subfolder in your - webserver configuration. For Apache you can use supplied .htaccess file - in that folder, for other webservers, you should configure this yourself. - Such configuration prevents from possible path exposure and cross side - scripting vulnerabilities that might happen to be found in that code.
  • +
  • You should deny access to the ./libraries and + ./setup/lib subfolders in your webserver configuration. For + Apache you can use supplied .htaccess file in that folder, for other + webservers, you should configure this yourself. Such configuration + prevents from possible path exposure and cross side scripting + vulnerabilities that might happen to be found in that code.
  • It is generally good idea to protect public phpMyAdmin installation against access by robots as they usually can not do anything good diff --git a/setup/lib/.htaccess b/setup/lib/.htaccess new file mode 100644 index 000000000..56baee608 --- /dev/null +++ b/setup/lib/.htaccess @@ -0,0 +1,3 @@ +# This folder does not require access over HTTP +# (the following directive denies access by default) +Order allow,deny