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.
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.