I am deploying a website from where user can purchase the pdfs. now i am searching for the way for storing the pdfs
so that it only can be downloaded when payment is done.
I have came across one way in which i can store the pdfs in to the Mysql
database and generate the path to it when required credentials fulfill.
Is there any other way to do this and link to the pdf file should be dynamic and encrypted so that other links to the other books can't be predicted.
and the server side language I am using is PHP