Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Users must not change password!!!! How???  (Read 3360 times)

0 Members and 1 Guest are viewing this topic.

Tobster

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Users must not change password!!!! How???
« on: August 29, 2005, 05:29:29 pm »

I have this cool gallery! THNX Coppermine!!!!!

I have myself as Admin and then I have created one single user called VIP.

Then I have this category which only the VIP can see...

The VIP password I give to certain people. They all use the same then to access this single category containing pictures.

But I don't want anyone to mess this up by changeging the password.... How do I prevent this?

Regards
Tobster
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Users must not change password!!!! How???
« Reply #1 on: August 29, 2005, 05:43:04 pm »

In profile.php, find

Code: [Select]
case 'change_pass' :
        if (!USER_ID || defined('UDB_INTEGRATION')) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);

change to

Code: [Select]
case 'change_pass' :
        if (!USER_IS_ADMIN || defined('UDB_INTEGRATION')) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);

If you have your gallery bridged to a bbs, you'll have to edit your bbs to prevent password changes.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Tobster

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Users must not change password!!!! How???
« Reply #2 on: August 29, 2005, 10:24:19 pm »

Quote
If you have your gallery bridged to a bbs, you'll have to edit your bbs to prevent password changes.

I'm pretty new at this, so I don't quite know what you mean...

If I do as you say, what wil happen in the future if sone wants to register at my gallery?
I mean I'd like it to be for only this user that change of password is prevented...
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 17 queries.