Hi all,
I have a use case where I need to show a video and a PDF download button only to specific contacts — the ones who’ve been granted access via an email campaign (added to a specific list/access group). The rest of the page should remain publicly visible to all visitors.
So the requirement is:
- The page itself stays public — not gated at the page level
- Only the video module and the PDF button/section should be conditionally shown, based on whether the visitor is logged in (and ideally, based on a specific list membership)
- The PDF itself should not be loaded directly from File Manager, since that URL could be forwarded/shared even by an authorized user, letting unauthorized visitors bypass the login check entirely
Would appreciate insights from anyone who’s implemented something similar — especially around securely serving a private file without exposing its File Manager URL.
Thanks!
Hi there @arjunkhankriyal,
Thank you for posting to the Community! I’d like to tag in some of our Top Contributors to see if they have any ideas on this one – Hi @Bryantworks @Crystal_Hopper and @gabriel-nextiny do any of you all have any tips for @arjunkhankriyal?
Thank you in advance!
Cassie, Community Manager
Hey, thanks for sharing this use case – it’s a good one.
For the video + button visibility, Smart Content based on list membership is definitely the way to go in HubSpot. That part is straightforward.
The real challenge is the PDF security, and you’re spot on about the File Manager URL being shareable. Two practical options:
-
Use the HubSpot Files API to generate a signed, temporary URL for authorized users only.
-
Use a third-party app like AllianceHub’s Private File Locker to handle the secure download link without custom code.
Either way, avoid using the direct file URL – it’ll get shared around eventually.
Hope that helps!