Password security issue with multiple ccount scripts

Post your Click counter digestion problems here
Post Reply
realitybytes
Posts: 1
Joined: Tue Apr 01, 2008 7:20 am

Password security issue with multiple ccount scripts

Post by realitybytes »

Version of script:1.2

Write your message below:

Hi great script. I have found a password security issue when running multiple copies of ccount on a server.

Example ccount is setup with the following folders each having different passwords.

/ccount
/ccount1
/ccount2

Logging in to the first setup then pointing your browser directly to the other locations does not request new login credentials it loads straight in allowing full access to the links.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

CCount was never mean to have multiple installs on the same domain, if you are counting many links or clicks you will be better off finding a MySQL back-end script as text databases aren't powerful or secure enough.

That said, if you still want to use different copies under the same domain you can change value for $_SESSION['logged'] from Y to something unique in each different index.php (for example change it to "DFAFJ348"). It needs to be changed 3 times throughout index.php file.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
puniksem
Posts: 47
Joined: Thu Nov 01, 2007 12:25 pm

Re: Password security issue with multiple ccount scripts

Post by puniksem »

realitybytes wrote:Version of script:1.2

Write your message below:

Hi great script. I have found a password security issue when running multiple copies of ccount on a server.

Example ccount is setup with the following folders each having different passwords.

/ccount
/ccount1
/ccount2

Logging in to the first setup then pointing your browser directly to the other locations does not request new login credentials it loads straight in allowing full access to the links.
Adjusting each script code to direct each ccount script to a seperate uniquely named config file. as the browser is only including one config file for all ccount scripts. worked for me.
World's shortest poem: We, see.
Post Reply