Displaying protected files

Discussion in 'Setting-up protection' started by kobitriki, Jul 14, 2009.

  1. kobitriki

    kobitriki New Member

    Joined:
    May 10, 2009
    Messages:
    9
    Hello,

    I would like to use aMember to protect personal folders of users,
    I wonder if anyone here can let me see how a protected folder looks like in real site, I want to see if the files just display like in Windows Explorer or you can st it to a list and add title and date to each file,

    Any help will be welcomed.

    Thanks
    Kobi
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    I think you are talking about the personal folders plugin?

    How the files are displayed- that depends on your server settings. Some servers will list all contents of a directory.
    I'd suggest you write a little script that lists the files with a link.

    David
  3. kobitriki

    kobitriki New Member

    Joined:
    May 10, 2009
    Messages:
    9
    Persoal folders

    Hi David,

    You are right, I am talking about the personal folders plugin.
    I wrote a nice script to display the content of the folders, now I found two other issues:
    1. the plugin do not create a personal folder when new user subscribe.
    2. amember block the access to the personal folder, but after login each user can access all other users folders.
    ( I created few users, each has personal folder as his username like:
    www.mysite.com/amember/users/USERNAME
    after login to user1, I can chanage the URL from ......./USER1 to ....../USER2
    ans see all user2's files.

    I am using new_rewrite for protection.

    Thanks
    Kobi
  4. gizzy

    gizzy New Member

    Joined:
    Jun 13, 2009
    Messages:
    5
    I also am having the same problem with users able to navigate to other members folders.

    I have put an index.html folder in place so it does not list all the folders, but its not hard to work out... Especially as i have a forum where everyone can see everyone elses username!

    Any ideas how to stop this would be great!
  5. gizzy

    gizzy New Member

    Joined:
    Jun 13, 2009
    Messages:
    5
    FYI... I got an answer from the support desk regarding the access of the personal folders:

    "Hello, Gary.

    Unfortunately, there is no documentation.
    You should create a file .htaccess in 'templates' folder:

    AuthType Basic
    AuthName "Members Only"
    AuthUserFile /home/NAME/public_html/path_to/members/data/.htpasswd
    AuthGroupFile /home/NAME/public_html/path_to/members/data/.htgroup
    Require user <!--LOGIN-->


    Then Personal Folder will substitute <!--LOGIN--> to username and only that member will be able to access folder."


    Tried it and it worked like a treat!
  6. evolvedix69

    evolvedix69 New Member

    Joined:
    Aug 10, 2009
    Messages:
    1
    How the files are displayed- that depends on your server settings. Some servers will account all capacity of a directory.


    :)

Share This Page