How to protect PDF files from being downloaded or copied

后端 未结 4 1388
无人共我
无人共我 2021-01-23 12:46

I\'m developing a new website with PHP & MySQL.

The website is for an online eBook library that grant access to its books based on paid subscription plans.

S

4条回答
  •  星月不相逢
    2021-01-23 13:28

    I think this is not a PHP or MYSQL solution. PDF's have a "protected mode". There you can disable printing the pdf. You should look for a server side pdf recreation tool that can recreate the pdf in protected mode and serve the user this file. Take a deeper look into PDF functions. I think i can remember that there should also a trial mode also and the ability to view only on 1 device. Here a link for more info: http://www.dummies.com/software/adobe/acrobat/restrict-who-can-edit-or-print-pdf-documents/

提交回复
热议问题