marhoons
08-04-2007, 08:43 PM
Hello,
I have login system and i have music folder on my site I want protect this directory to any one want download any thing from this folder and only the members on my login system can be download it and lesten..
so let me explain an exaple:
if we have a directory on my host such as music..
on dir. music we have those file:
1.wma
2.wma
3.wma
and index.php file on this dir. to check the session is set or not i mean the user are logining or not..
so..
how i can colse this way:
any body try download my music file directly from path like:
www.domain.com/music/1.wma
any one have idea for this plan please dont hesitate to tell us about it..
thanks..
I have login system and i have music folder on my site I want protect this directory to any one want download any thing from this folder and only the members on my login system can be download it and lesten..
so let me explain an exaple:
if we have a directory on my host such as music..
on dir. music we have those file:
1.wma
2.wma
3.wma
and index.php file on this dir. to check the session is set or not i mean the user are logining or not..
so..
how i can colse this way:
any body try download my music file directly from path like:
www.domain.com/music/1.wma
any one have idea for this plan please dont hesitate to tell us about it..
thanks..