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
You can encrypt the PDF and use an embedded viewer by using the Copysafe PDF Protection software. It is the only solution that is safe from all copy including screen capture, and the only effective copy protection solution that can be displayed online via a web browser. The downside is that the ArtisBrowser web browser is required which is a Windows only app. Mac users can run Windows from Parallels or Bootcamp.
Plugins are available for popular CMS like WordPress, Drupal, Joomla and Moodle for uploading and placement of the protected PDF onto web pages and posts from the inline editor.