Advanced search  

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

Pages: [1]   Go Down

Author Topic: using user info from.htpasswd  (Read 2568 times)

0 Members and 1 Guest are viewing this topic.

ceitinn

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
    • http://testranet.net
using user info from.htpasswd
« 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.
Logged
If practice makes perfect, and nobodys perfect. Whats the point in practice

Nibbler

  • Guest
using user info from.htpasswd
« Reply #1 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.
Logged

bit bit spears

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 240
    • TangibleBrit.com
using user info from.htpasswd
« Reply #2 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
Logged

ceitinn

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
    • http://testranet.net
using user info from.htpasswd
« Reply #3 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
Logged
If practice makes perfect, and nobodys perfect. Whats the point in practice
Pages: [1]   Go Up
 

Page created in 0.028 seconds with 19 queries.