Protecting your statistics with a username and password
In order to protect your site statistics from prying, unwanted eyes you may opt to implement a password-protection of the /stats directory on your installation.
In general, this is done exactly like with any other folder that you want to protect (see an explanation here), however with one important difference: Do NOT use the .htacces file since it will be overwritten the next time the statistics are created! Use the file .htacces-user instead (it will be merge into the real .htaccess file).
If you want the password protection to be effective immediately you must insert identical lines into both .htaccess and .htaccess-user - otherwise the password protection will not be effective until the next time the statistica are created (typically around 2 AM in the night).
