Protecting each file possible?

Discussion in 'Setting-up protection' started by rajesh, Jul 24, 2006.

  1. rajesh

    rajesh New Member

    Joined:
    Jul 23, 2006
    Messages:
    1
    HI,
    Is it possible to protect each file instead of protecting entire folder.....suppose i have 100 folders and in each folder there are 100 files ....i want to show content of each folder to users before they buying membership [which i can do by directory script ]so i shouldnt protect entire folder.I just need to protect files.Its not possible to add each file from admin panel.Is there .htaccess way to protect all files instead of folders.Should be like When users clicks on file to download it should ask member login.Please suggest how to do like that.
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    It is easier to place your PHP script somewhere outside the folder. Or, it is possible to make your PHP file available to users even inside protected folder. Contact us via helpdesk for help.

Share This Page