In a hosting evnironment I would like to secure the output for each site so that only the site admins have access to their statistics. Has anyone done this?
A simple way (with Apache) is to add a .htaccess in the awstats dir, granting access only to some users.
Or you can generate static html files with awstats, each set of files in a specific directory for each site. And then add .htaccess to that dir.
Thank you for your reply unfortunately i'm on IIS 6, and would rather not go the route of static pages if at all possible. I'm looking at either editing the awstats.pl or creating a wrapper script at this point.
If your customers have machine accounts, remove permission for the MACHINE\IUSR_MACHINE to execute awstats.pl so the user will be challenged for authentication.
If not how about using the Authentix ISAPI (www.flicks.com) because it can access any type of user database and provides HTTP BASIC authentication.
Log in to post a comment.