Protect WordPress PDF Files From Downloads

While Prevent Direct Access Gold prevents your private files from being shared without your permission, Watermark WordPress Files helps you display protected PDF files in content and stops all download attempts at the same time.

Protect self-hosted PDF files

Requirements:

Self-hosted PDF files refer to all files uploaded to your hosting server instead of external storage such as Amazon S3, Dropbox or Wasabi.

Simply protect your private files with PDA Gold, so no one, including authorized users, can download them.

Protect PDF Files hosted on Amazon S3 bucket

Requirements:

Since version 1.2.0, you can preview PDF files hosted on S3 bucket with our PDF Viewer using the simple shortcode below:

[pda_pdf_viewer s3_url="s3-link-of-your-pdf-file"]

Technically, when you protect S3 files by setting it private, they will be accessed directly by no one. To display them in content, our plugin needs permission to connect with your S3 bucket and automatically generate S3 signed URLs, which allows your users to see the file content in a period of time. The new S3 signed URL will be automatically generated and replaced the previous expired one. Therefore, your users can see the whole PDF without any interruption.

What’s more, by setting the expiration time too short, e.g. 5 seconds, you can stop the most download tools from downloading your private files.

You can configure your S3 bucket and modify the expiration time under our PDA S3 Integration settings page.

As of now, you can only use one single PDF viewer per page/post. If you insert more than one, only the first document will display correctly.
Lasted updated on April 20, 2020