PDF Creator
  • Introduction
    • 👋Welcome
    • Quickstart
    • Key use cases
    • Key features
  • Getting Started
    • Installing the plugin
    • Enabling ID attributes
  • Implementing Key Features
    • Generating PDFs of a single element
    • Generating a PDF of multiple elements
    • Downloading PDFs
    • Saving PDFs to your Bubble database
    • Adding footers
      • Page counters
      • Logos
    • Adding headers
    • Customising your PDF
    • Sending PDFs via email
  • Making PDF files private
  • Tips
    • How the plugin scales elements to the PDF page
    • Adding a loading screen
    • Generating PDFs of repeating groups that span multiple pages
  • Troubeshooting
    • 'Can't find element' message when using square brackets
    • Unwanted white spaces when using nested repeating groups
    • Unwanted gap at bottom of table elements
    • Traditional Chinese characters formatting
    • White space at the top of pages
Powered by GitBook
On this page

Making PDF files private

PreviousSending PDFs via emailNextHow the plugin scales elements to the PDF page

Last updated 3 months ago

Bubble provides you with the ability to link files to a specific database record and inherit the privacy rules associated with that record.

See for further details on private files

To make PDF files created by PDF Creator private, follow these steps:

  1. On the 'Generate PDF Creator' action, check the 'Make this file private' option

  1. Specify a 'thing' to attach the file to in the 'Attach file to' field. In the above example, we're attaching the file to the Current User, which means the uploaded file will inherit all the privacy rules associated with the Current User.

These are the privacy rules that are set on the user data type in our example:

This means that when the user is logged in, they can still access the PDF. But if another user tries to access the URL associated with the PDF they'll get blocked:

this section of the Bubble manual