protecting files for download just for user that has credit in his/her acount?
i wanna creat a website for downloading some files (pdf,word,xls, such as these files), each file has pice for example a.pdf is 10$ and b.pdf id 20$. For example usern "x" has 12$, how can i prevent this user for download file b.pdf ? Please giv me suggestions. You know i know that i can have membership system that can hqve roles for accessing folders but how about files ? Or yoi think i dont need to register users they can pay online price for each file, for example you select a.pdf and you will connect to paypal or others and youll pay if you pay the lonk will be shown but how about if the user copy the link and send it to him/her friends ? Thank you
protecting files for download just for user that has credit in his/her acount?
===

i wanna creat a website for downloading some files (pdf,word,xls, such as these files), each file has pice for example a.pdf is 10$ and b.pdf id 20$. For example usern "x" has 12$, how can i prevent this user for download file b.pdf ? Please giv me suggestions. You know i know that i can have membership system that can hqve roles for accessing folders but how about files ? Or yoi think i dont need to register users they can pay online price for each file, for example you select a.pdf and you will connect to paypal or others and youll pay if you pay the lonk will be shown but how about if the user copy the link and send it to him/her friends ? Thank you