Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Restrict access to some images in a public album?  (Read 2777 times)

0 Members and 1 Guest are viewing this topic.

ciegalo

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 10
    • Boud'web
Restrict access to some images in a public album?
« on: May 10, 2005, 09:07:13 am »

Hi to all,
New to CPG, I've been uploading pics for a couple weeks (see link in my profile). The system suits me so well I've installed one for my mother :) Now I'm looking for a way to restrict access to *some* images in a public album.

Why? Because some of my "travels" albums contain some portraits I do not wish to publish. Setting up 2 albums (1 for neutral, 1 for portraits) is too much trouble and takes the pics out of the context.

Before I stick my nose in PHP and SQL code, has anyone ever looked into that? To obtain this result I'd simply add a field to the image DB (have too look that one up ;) ) that would link to a user group, and modify all the queries (last uploads, favorites, albums...) to restrict access.

I've noticed several questions on the board about allowing an album to be linked with several user groups, I'll look into that too.

Any hints or suggestions ?
Thanks in advance !
Ciegalo
Logged
--
"le point sert à terminer une phrase quand on en a marre"
J. Duhamel - Paroles d'enfants
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 19 queries.