Protecting download folder in 4images

Discussion in 'Setting-up protection' started by cardsup, Jun 9, 2005.

  1. cardsup

    cardsup Guest

    I just installed aMember with the 4images plugin. I have the following problem:

    My gallery is set up in a way that only members can download zipped files of the images. However, if a non-user guesses the location of the download folder and the file structure, he/she can download the files...I feel that this folder should be protected.

    I used the .htaccess method. I added the .htaccess file to the download folder:

    AuthType Basic
    AuthName "Members Only"
    AuthUserFile /home/www/site/public_html/signup/data/.htpasswd
    AuthGroupFile /home/www/site/public_html/signup/data/.htgroup
    Require valid-user

    The problem is that when I am logged in as an user and I download the zipped file, it appears to be corrupted. When I remove the .htaccess file, everything seems to be working normally and the zipped file is fine.

    Any ideas how I can fix that?
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    it is better if contact support via helpdesk with all access info

Share This Page