1 .Install awstats from your package manager
2. follow one of these
http://library.linode.com/web-servers/n ... l-fastcgi/
3. Generate a htpasswd file with
Code:
htpasswd -c /path/to/.htpasswd username
4. add the following to your nginx config file for awstats
Code:
location /path/to/awstats
{
auth_basic "Restricted";
auth_basic_user_file /path/to/.htpasswd;
}
5. restart nginx
That will add password protection to awstats.
As for security issues, that's what the password protection is for.
_________________
Paid supportHow to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue