coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: ceitinn on March 26, 2004, 07:39:36 PM

Title: using user info from.htpasswd
Post by: ceitinn on March 26, 2004, 07:39:36 PM
First off I would like to say sorry.
My english is great my spelling is shit.

I am currently beta testing cpg to see if I want to use it with my current setups.

I do find cpg very very good in its code (not a newbie but not a coder) clean and easy to change..
I do find is sucking up systems resources though.

but here's my question.

currently if I implament cpg into my site it will be behind a password protected directory (ie /members/ or /protected/cpg/

My htaccess file is in that dir and my htpasswd is below root. The directory is protected and coppermine fuctions correctly behind the protected directory.

I had an idea that I would like to show copermine to my users with out them being aloud to  see the full size image, rather I want them to register.  I don't want them to register through coppermine. I would like copermine to pull its user info from my htpasswd file so when they log into coppermine they can see the full size image.....

wow, just relized if I remove the htaccess and used your registration prosses that it would show the link  (ie IE-4.0 right click copy shortcut or view properties)

Ok summery.
I would like my users to go to coppermind and still have all those bennifets  but I want them to use there username and password I already issued them and I want coppermine to pull that information from my htpasswd file..

Sorry if this question has been answered already. if it has kindly point me to the answer.
Title: using user info from.htpasswd
Post by: Nibbler on March 26, 2004, 09:55:38 PM
I think the htpasswd file uses one-way encryption, so this will not be an easy change to make, if it is actually possible.
Title: using user info from.htpasswd
Post by: bit bit spears on March 26, 2004, 11:40:23 PM
*it is possible (i think lol)

i have a code that makes a login box appear if you need access (looks like the htaccess login script)

you just put it in the beginning of the file/ i'll post it later
Title: using user info from.htpasswd
Post by: ceitinn on March 28, 2004, 08:09:14 PM
Quote from: "tb"*it is possible (i think lol)

GREAT I thought it was!

i have a code that makes a login box appear if you need access (looks like the htaccess login script)

you just put it in the beginning of the file/ i'll post it later

Thank for your help guys/ladies