i have a pdf file in one directory called "pdf_docs" ...how can I protect that public should not access the directly the pdf file from the folder? at the same time i need to read the pdf through php and wants to display the content?
i have already reading the pdf through php and displayed the content.. but public users know the path and types the pdf URL, it opens it in the browser?
how do I protect this?
the hosting directory in linux, shared hosting.