Prevent direct download of pdf document

Home Forums Legacy Support Support queries Other issues Prevent direct download of pdf document

Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #48725
    JC
    Participant
    Hello WPLMS team, I have recently bought WPLMS theme and it is very powerful. However I have a question about the attachments to unit, and more precisely pdf attachment. I wanted to attach a pdf document to a unit and then I followed the instructions disclosed in your documentation. However, when testing the unit, I noticed that the pdf document can be directly downloaded by a people who is not a student or a professor. Indeed, by WordPress default settings, all the documents are stored in the directory nameofthesite.com/wp-content/uploads/year/month/nameofthefile.pdf (if it is a pdf document). Then, if a people, who is not registered as student or professor, enters in the url adress navigator : nameofthesite.com/wp-content/uploads/year/month/, he can access to all the content of the directory and then download the pdf file. Is there a way to prevent such a thing, i.e. to prevent people who are not registered as students/professors to download pdf documents (which attached to a unit) by using the above described method ? Thank you in advance for your answer
    #48915
    H.K. Latiyan
    Participant
    For preventing this you can use wplms S3 addon plugin.
    #49111
    JC
    Participant
    OK Thank you for your answer. Regards,
    #49158
    H.K. Latiyan
    Participant
    Thanks for confirming, so marking the topic as resolved and closing the topic.
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Prevent direct download of pdf document’ is closed to new replies.