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

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

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']