Access control for hi-res images? Access control for hi-res images?
 

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

Access control for hi-res images?

Started by ragweed, May 04, 2004, 07:42:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ragweed

I was wondering if there was any way to allow access to all the images with the exception of the high-resolution versions? I have a user that would like visitors to be able to view any of the images in their galleries, but not the high-resolution originals. They would like to limit access to the hi-res images to a specific "higher-privilege" group. Is this possible with CPG?

<for the geeks>
I've considered using mod_auth_mysql and <FilesMatch>require valid-user</FilesMatch> to limit access to the high-res images, but it seems like this level of hackery is a bit extreme..  :-\
</for the geeks>