Question: How can I set password protection on the stats virtual directory?
Awstats virtual directory can be password protected by following the given steps:
- Login in HC Panel as Reseller or Webadmin select the required website and navigate to the path Hosting Services :: Manage Websites :: My Websites :: Website Properties :: Virtual Directories.
- Now edit the stats virtual directory by selecting the option “Edit Virtual Directory”, and disable both “Allow Anonymous” and “Integrated Windows Authentication” options.
- Now the stats site would prompt for password and the FTP user credentials can be used to access the website statistics. If you haven't created an FTP user yet then create one with its root directory mapped at “domain.com/special/awstats” folder.