PHP-Web-Stat Support Forum
https://www.php-web-statistik.de/cgi-bin/yabb/YaBB.pl
Board (English) >> English board >> Protect the cookie settings with a password?
https://www.php-web-statistik.de/cgi-bin/yabb/YaBB.pl?num=1588951653

Beitrag begonnen von cphMichael am 08.05.20 um 17:27:33

Titel: Protect the cookie settings with a password?
Beitrag von cphMichael am 08.05.20 um 17:27:33
Admin Center > Advanced Settings > Security

Does the "Protect the cookie settings with a password?" refer to the icon "Own visits will be counted / Click to disable counting of own visits"?

I want users to display the STAT without password - but I don't want uses to be able to 'disable counting of own visits'.

I have set an Admin and User password:
- unticked "Protect the stat with a password?"
- ticked "Protect the cookie settings with a password?"
- ticked "Enable security mode for your log folder?"

Users can display the STAT information - but unfortunately can they still 'disable counting of own visits'.

Titel: Re: Protect the cookie settings with a password?
Beitrag von Reimar am 10.06.20 um 20:37:53
Sorry for the delay. Let us test this. If it works like this, this sounds like a bug.

Titel: Re: Protect the cookie settings with a password?
Beitrag von Reimar am 13.07.20 um 20:21:19
Here we are again. Indeed, as mentioned by you, this is a bug.
We have a fix and the next release will have this fix.

For all that cannot wait to fix this:

cookie.php line 179 as follows:


Code (php):
if ( ( $loginpassword_ask == 1 ) && ( $_SESSION ['loggedin'] != 'admin' ) )


This line has to be changed to:

Code (php):
if ( $_SESSION ['loggedin'] != 'admin' )


@cphMichael: many many thanks for finding and telling us. We really appreciate this.

Best regards
Reimar

PHP-Web-Stat Support Forum » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2012. Alle Rechte vorbehalten.