# Seek for restricted pdf viewing advice

**URL:** <https://community.thunkable.com/t/seek-for-restricted-pdf-viewing-advice/2706472>\
**Category:** Questions about Thunkable X\
**Created:** [November 17, 2023, 9:03am UTC](https://community.thunkable.com/t/seek-for-restricted-pdf-viewing-advice/2706472 "2023-11-17T09:03:13Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeroen.mulder](https://avatars.discourse-cdn.com/v4/letter/j/977dab/32.png) [@jeroen.mulder](https://community.thunkable.com/u/jeroen.mulder)\
**Post date:** [November 17, 2023, 9:03am UTC](https://community.thunkable.com/t/seek-for-restricted-pdf-viewing-advice/2706472/1 "2023-11-17T09:03:13Z")

</div>

Hi,

I want to make a pdf available in thunkable.  
I know about the pdfviewer. Viewing a publicly available pdf is easy.  
However, I want to show a restricted pdf. Meaning that the pdf can only be opened by the thunkable app.  
I also do not want the pdf to be found by a robot/crawler.

I though of these methods:

1. store the pdf somewhere online with a non guessable link. Restrict crawlers…but it will be found eventually
2. secure folder with htaccess. But how to enter user and pass automatically?
3. ?

---

<div class="post-metadata">

**Author:** ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)\
**Post date:** [November 17, 2023, 2:51pm UTC](https://community.thunkable.com/t/seek-for-restricted-pdf-viewing-advice/2706472/2 "2023-11-17T14:51:11Z")

</div>

You could try setting the screen with a password/phrase where a user can only see the screen if they enter a password. You could do this easily with a conditional. If password is correct, navigate to screen with PDF, if not, show an error or navigate to a different page.

---

<div class="post-metadata">

**Author:** ![jeroen.mulder](https://avatars.discourse-cdn.com/v4/letter/j/977dab/32.png) [@jeroen.mulder](https://community.thunkable.com/u/jeroen.mulder)\
**Post date:** [November 17, 2023, 3:05pm UTC](https://community.thunkable.com/t/seek-for-restricted-pdf-viewing-advice/2706472/3 "2023-11-17T15:05:43Z")

</div>

Hi Matt,  
Thanks for your reaction.

Once the user is in the app they are allowed to see everything. The app has a login function.  
The problem is that I do not want the pdf “in the open” on the internet.  
So people should not be able to open the pdf by navigating to the pdf URL.

I now managed to show the pdf in a google doc viewer but then it is not zoomable.

---

<div class="post-metadata">

**Author:** ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)\
**Post date:** [November 17, 2023, 3:08pm UTC](https://community.thunkable.com/t/seek-for-restricted-pdf-viewing-advice/2706472/4 "2023-11-17T15:08:14Z")

</div>

Do you have the ability to save the PDF as a variable locally in the app? That would solve all of this.

---

<div class="post-metadata">

**Author:** ![jeroen.mulder](https://avatars.discourse-cdn.com/v4/letter/j/977dab/32.png) [@jeroen.mulder](https://community.thunkable.com/u/jeroen.mulder)\
**Post date:** [November 17, 2023, 3:28pm UTC](https://community.thunkable.com/t/seek-for-restricted-pdf-viewing-advice/2706472/5 "2023-11-17T15:28:52Z")

</div>

That would mean I have to update the app as soon as the manual (pdf) changes.  
Not a preferred solution.

---

<div class="post-metadata">

**Author:** ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)\
**Post date:** [November 17, 2023, 3:57pm UTC](https://community.thunkable.com/t/seek-for-restricted-pdf-viewing-advice/2706472/7 "2023-11-17T15:57:35Z")

</div>

For it to not be searched then by a crawler is a bit beyond anything you could do with Thunkable then. The site hosting the pdf would need to implement some kind of CAPTCHA or you could update some information in the header of the site if you have access to that.

---

<div class="post-metadata">

**Author:** ![jeroen.mulder](https://avatars.discourse-cdn.com/v4/letter/j/977dab/32.png) [@jeroen.mulder](https://community.thunkable.com/u/jeroen.mulder)\
**Post date:** [November 17, 2023, 4:13pm UTC](https://community.thunkable.com/t/seek-for-restricted-pdf-viewing-advice/2706472/8 "2023-11-17T16:13:59Z")

</div>

If thunkable could somehow login an htaccess protected folders and transfer user and pass it could be done.  
Or of thunkable pdf viewer could handle a file stored on google drive, onedrive etc. it could also be done. But the links to those files do not end with .pdf which is a requirement for the pdf viewer to work

Thanks for pointing out the CAPTCHA I will try that idea.

---

<div class="post-metadata">

**Author:** ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)\
**Post date:** [November 17, 2023, 5:12pm UTC](https://community.thunkable.com/t/seek-for-restricted-pdf-viewing-advice/2706472/9 "2023-11-17T17:12:15Z")

</div>

> [@jeroen.mulder](#):
>
> If thunkable could somehow login an htaccess protected folders and transfer user and pass it could be done

I don’t believe this is possible but you could Google _htaccess thunkable_ and see what comes up.

> [@jeroen.mulder](#):
>
> Or of thunkable pdf viewer could handle a file stored on google drive, onedrive etc. it could also be done. But the links to those files do not end with .pdf which is a requirement for the pdf viewer to work

Unfortunately, the way the PDF Reader component works with a URL, that URL must end in .pdf to be read correctly.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [February 15, 2024, 5:12pm UTC](https://community.thunkable.com/t/seek-for-restricted-pdf-viewing-advice/2706472/10 "2024-02-15T17:12:24Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
