Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-27, 12:31:11

Author Topic: 'Statistics Page Password' have no effect  (Read 8554 times)

0 Members and 1 Guest are viewing this topic.

Offline crossing

  • Senior Member
  • *
  • Posts: 336
  • Karma: +0/-0
    • View Profile
'Statistics Page Password' have no effect
« on: 2014-01-04, 19:55:14 »
'Statistics Page Password' set have no effect and everyone can access my stats.
Kloxo-MR -> Great Panel ->  Great person behind it ->  Mustafa

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: 'Statistics Page Password' have no effect
« Reply #1 on: 2014-01-05, 06:39:51 »
Did you reset httpd after you changed the password?   I will test as well.
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline crossing

  • Senior Member
  • *
  • Posts: 336
  • Karma: +0/-0
    • View Profile
Re: 'Statistics Page Password' have no effect
« Reply #2 on: 2014-01-05, 11:41:09 »
I reboot it the server with no results.
Kloxo-MR -> Great Panel ->  Great person behind it ->  Mustafa

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: 'Statistics Page Password' have no effect
« Reply #3 on: 2014-01-05, 17:24:05 »
Mustafa, there is a bug / problem with stats password now.  Servers that had password protection already, it works.  On new installs or new domains the password stays null.  I tried both templates, feather and default (6.5.0f 20140103).  If I try to change an existing password it sets it to null.

So the problem is not with httpd, but with setting the actual passwords in KloxoMR.   Please fix, this is actually a security bug.

Thank you
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: 'Statistics Page Password' have no effect
« Reply #4 on: 2014-01-06, 02:29:55 »
Look like something wrong with mechanism to save password and create __stats file.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: 'Statistics Page Password' have no effect
« Reply #5 on: 2014-01-06, 03:47:56 »
I don't know when it stopped working.  Please advise, a fix here is important.
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: 'Statistics Page Password' have no effect
« Reply #6 on: 2014-01-06, 04:05:27 »
Still investigate for this issue.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline crossing

  • Senior Member
  • *
  • Posts: 336
  • Karma: +0/-0
    • View Profile
Re: 'Statistics Page Password' have no effect
« Reply #7 on: 2014-01-06, 20:21:14 »
Mustafa did you managed to fix this bug ?
Kloxo-MR -> Great Panel ->  Great person behind it ->  Mustafa

Offline crossing

  • Senior Member
  • *
  • Posts: 336
  • Karma: +0/-0
    • View Profile
Re: 'Statistics Page Password' have no effect
« Reply #8 on: 2014-01-08, 15:07:07 »
Any chance to fix this problem ? I have one competitor keep accesing stats page.
Kloxo-MR -> Great Panel ->  Great person behind it ->  Mustafa

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: 'Statistics Page Password' have no effect
« Reply #9 on: 2014-01-08, 15:34:28 »
Temporary solution:

For apache, copy domains.conf.tpl to custom.conf.tpl and then modified:
Code: [Select]
<?php
            
if ($statsprotect) {
?>


    <Location "/awstats/">
        AuthType Basic
        AuthName "Awstats"
        #AuthUserFile "/home/<?php echo $user?>/__dirprotect/__stats"
        AuthUserFile "/home/httpd/<?php echo $domainname ?>/__dirprotect/__stats"
        require valid-user
    </Location>
<?php
            
}

to:
Code: [Select]
<?php
            
//if ($statsprotect) {
?>


    <Location "/awstats/">
        AuthType Basic
        AuthName "Awstats"
        #AuthUserFile "/home/<?php echo $user?>/__dirprotect/__stats"
        AuthUserFile "/home/httpd/<?php echo $domainname ?>/__dirprotect/__stats"
        require valid-user
    </Location>
<?php
            
//}

the same trick for nginx and lighttpd.

With this trick no one able to access to stats (including you) except knowing username and password.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: 'Statistics Page Password' have no effect
« Reply #10 on: 2014-01-08, 15:37:37 »
Above code for awstats. Find out also for webalizer.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: 'Statistics Page Password' have no effect
« Reply #11 on: 2014-01-08, 17:51:33 »
Mustafa, this is not a good solution.  Clients want to password protect stats.  How do they set password? KloxoMR not allowing setting of password.  This worked in previous versions of KloxoMR, as my older sites have it enabled,

Please fix the panel way, so clients can use.
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: 'Statistics Page Password' have no effect
« Reply #12 on: 2014-01-10, 17:18:28 »
Mustafa any progress on fixing this issue?
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: 'Statistics Page Password' have no effect
« Reply #13 on: 2014-01-14, 16:40:28 »
There has been three KloxoMR updates since this issue was discovered.  Mustafa, please fix this.
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline crossing

  • Senior Member
  • *
  • Posts: 336
  • Karma: +0/-0
    • View Profile
Re: 'Statistics Page Password' have no effect
« Reply #14 on: 2014-01-15, 13:59:24 »
Any news about this problem ?
Kloxo-MR -> Great Panel ->  Great person behind it ->  Mustafa

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine

Page created in 0.069 seconds with 18 queries.

web stats analysis