using user info from.htpasswd using user info from.htpasswd
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

using user info from.htpasswd

Started by ceitinn, March 26, 2004, 07:39:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ceitinn

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.
If practice makes perfect, and nobodys perfect. Whats the point in practice

Nibbler

I think the htpasswd file uses one-way encryption, so this will not be an easy change to make, if it is actually possible.

bit bit spears

*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

ceitinn

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
If practice makes perfect, and nobodys perfect. Whats the point in practice