password protected album download

I am using the printAlbumZip() function to provide a link for user to download the full album. I would really like to be able to add password protection to the album download so only authorized users can download the full-size-image album.

Is there a way to added a password protection to the album download?

Comments

  • Do you mean to the album after it is downloaded? Because currently you cannot download an album that is password protected unless you have the password.
  • What I mean is that I want users be able to access the album and view the resized photos (only the resized of the photo with watermark, not the original image). And if user clicks on the download album link, it prompts for password.

    The printAlbumZip zips the original images and allows user to download the zip file without needing any password. Anyway have access to view the album can download the full sized image.

    It would be nice to just able to password protect the download link.
  • But you are wrong. When the zip file is processed, the user must have access rights to the album.
  • Let's say the user have access to the album, he can view the album, but because I disabled full image access, he can only view the resized image with the watermark. I added a link for user to download the full size image album(using printAlbumZip() ).

    I just want to password protect this download link, so when user click on the clik, he must provide a password.

    In short, I want all users to view the album, but only authorised users can download the album.
  • That is not something that zenphoto does. Passwords are used to protect albums, not scripts.
  • acrylian Administrator, Developer
    Depending on your knowledge you could probably write a plugin to maintain a checkbox list of users/admin that are allowed to download so that they have to re-enter their password for download or only the allowed users see the downloadlink. Or just a plugin that creates a password check for a special download password before it displays the download link.
Sign In or Register to comment.