htaccess external members / non-members see only thumbnails htaccess external members / non-members see only thumbnails
 

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]

Main Menu

htaccess external members / non-members see only thumbnails

Started by Huser, April 07, 2005, 07:55:03 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Huser

i have a an external member system by htaccess.  I would like the non-members of the external member system to only see the thumbnails of the members' pics.

While members of hte external member system can see everything.

What can i do to accomplish this? ???


Huser

Would i have to edit (user id) to specify that only the htaccess members can see everything?

The htaccess is something like this.

AuthUserFile /dev/null
AuthGroupFile /dev/null
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://members.com [NC]
RewriteCond %{HTTP_REFERER} !^http://www.members.com [NC]
RewriteRule /* http://www.mysite.com/join.html [R,L]


Nibbler

You'd need to change USER_ID to $_SERVER['PHP_AUTH_USER']