# Password pages and custom HTML

**URL:** <https://forums.realmacsoftware.com/t/password-pages-and-custom-html/54720>\
**Category:** Elements\
**Created:** [February 25, 2026, 7:50pm UTC](https://forums.realmacsoftware.com/t/password-pages-and-custom-html/54720 "2026-02-25T19:50:12Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![jwDave](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/jwdave/32/31841_2.png) [@jwDave](https://forums.realmacsoftware.com/u/jwDave)\
**Post date:** [February 25, 2026, 7:50pm UTC](https://forums.realmacsoftware.com/t/password-pages-and-custom-html/54720/1 "2026-02-25T19:50:12Z")

</div>

I guess this is a part Elements and part general website thing. So I (with Claude help!) have created a pdf viewer with page controls and zoom in/out in a custom HTML component. It works great, happy to share if anyone is interested? It allows you to set the pdf file path in a properties box so the final website is limited to that file, but that is what I wanted.

Then I wanted to put it in a password protected section. This simply does not work, it messes up the page badly, ignores the password etc.

So then I made the password a page protection with a redirect. This works great. BUT is there any way to hide the page URL of the redirect? Because of course anyone with the password can access the file and then share the URL of the redirected page.

Hope all this makes sense?

---

<div class="post-metadata">

**Author:** ![PMUK](https://avatars.discourse-cdn.com/v4/letter/p/7993a0/32.png) [@PMUK](https://forums.realmacsoftware.com/u/PMUK)\
**Post date:** [February 25, 2026, 10:05pm UTC](https://forums.realmacsoftware.com/t/password-pages-and-custom-html/54720/2 "2026-02-25T22:05:55Z")

</div>

Dave I did a free PDF viewer a while back however could not get the “toolbar” to work on iPad and phone as it needed an extra component, if you ahve cracked that then please I would be very happy to see it. My one was done with a button or picture trigger have a look here. [https://forums.realmacsoftware.com/t/pdf-embed-free-project-beta-v2-elements/54092/3](https://forums.realmacsoftware.com/t/pdf-embed-free-project-beta-v2-elements/54092/3)

---

<div class="post-metadata">

**Author:** ![jwDave](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/jwdave/32/31841_2.png) [@jwDave](https://forums.realmacsoftware.com/u/jwDave)\
**Post date:** [February 26, 2026, 9:15am UTC](https://forums.realmacsoftware.com/t/password-pages-and-custom-html/54720/3 "2026-02-26T09:15:59Z")

</div>

Hi Paul, I will share this with you today.

---

<div class="post-metadata">

**Author:** ![jwDave](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/jwdave/32/31841_2.png) [@jwDave](https://forums.realmacsoftware.com/u/jwDave)\
**Post date:** [February 26, 2026, 1:19pm UTC](https://forums.realmacsoftware.com/t/password-pages-and-custom-html/54720/4 "2026-02-26T13:19:45Z")

</div>

Here is the link to the test project

elementsapp://downloadDocument/GhGtWBOtqbQ6

It works on mac, ipad and iphone.

It MUST be a https:// site.

Currently it displays a pdf (large pdf on purpose) on my [elements-test.com](http://elements-test.com) site, you will obviosly need to set your own.

Let me know how you get on.

---

<div class="post-metadata">

**Author:** ![PMUK](https://avatars.discourse-cdn.com/v4/letter/p/7993a0/32.png) [@PMUK](https://forums.realmacsoftware.com/u/PMUK)\
**Post date:** [February 26, 2026, 1:40pm UTC](https://forums.realmacsoftware.com/t/password-pages-and-custom-html/54720/5 "2026-02-26T13:40:39Z")

</div>

> [@jwDave](#):
>
> elementsapp://downloadDocument/GhGtWBOtqbQ6

Sorry Am I missing a trick here? First of all when loaded I get a red bar with “Failed to load PDF: Load failed” and an open button, which when opens opens a PDF, this when scaled just loses part of right side of pdf, which was a problem I had with my initial set up until I rectified it.

So I am non the wiser as I have exactly the same as my open modal with a button PDF Viewer that shrinks the sides of PDF when opened on smaller device. Can you kindly attach few pictures to show tool bar on iPad and iPhone as I’m not seeing anything different to mine. TIA

---

<div class="post-metadata">

**Author:** ![jwDave](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/jwdave/32/31841_2.png) [@jwDave](https://forums.realmacsoftware.com/u/jwDave)\
**Post date:** [February 26, 2026, 1:45pm UTC](https://forums.realmacsoftware.com/t/password-pages-and-custom-html/54720/6 "2026-02-26T13:45:04Z")

</div>

> [@PMUK](#):
>
> exactly the same as my open modal with a button PDF Viewer that shrinks the sides of PDF when opened on smaller device. Can you kindly attach few pictures to show tool bar on iPad and iPhon

go to [https://elements-test.com](https://elements-test.com) and you will see what you should get when set up correctly.

---

<div class="post-metadata">

**Author:** ![PMUK](https://avatars.discourse-cdn.com/v4/letter/p/7993a0/32.png) [@PMUK](https://forums.realmacsoftware.com/u/PMUK)\
**Post date:** [February 26, 2026, 2:00pm UTC](https://forums.realmacsoftware.com/t/password-pages-and-custom-html/54720/7 "2026-02-26T14:00:00Z")

</div>

Dave this is what I see on smaller screens. Cropped right side.

 ![Screenshot 2026-02-26 at 13.58.48](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/9/0/9036fea87a87eb4c3b8f8382095a97d53b40dbce.jpeg)

---

<div class="post-metadata">

**Author:** ![jwDave](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/jwdave/32/31841_2.png) [@jwDave](https://forums.realmacsoftware.com/u/jwDave)\
**Post date:** [February 26, 2026, 2:18pm UTC](https://forums.realmacsoftware.com/t/password-pages-and-custom-html/54720/8 "2026-02-26T14:18:35Z")

</div>

This is a screen shot on my iPad.

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/4/0/40ddc167968597e65e0b618448537c9e477d1df4.jpeg)

so I am not sure what is going on?

---

<div class="post-metadata">

**Author:** ![PMUK](https://avatars.discourse-cdn.com/v4/letter/p/7993a0/32.png) [@PMUK](https://forums.realmacsoftware.com/u/PMUK)\
**Post date:** [February 26, 2026, 2:23pm UTC](https://forums.realmacsoftware.com/t/password-pages-and-custom-html/54720/9 "2026-02-26T14:23:24Z")

</div>

TIA

Did you open the pdf from the button “OPEN” at top?

---

<div class="post-metadata">

**Author:** ![jwDave](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/jwdave/32/31841_2.png) [@jwDave](https://forums.realmacsoftware.com/u/jwDave)\
**Post date:** [February 26, 2026, 2:25pm UTC](https://forums.realmacsoftware.com/t/password-pages-and-custom-html/54720/10 "2026-02-26T14:25:09Z")

</div>

No it opens immediately on page load

---

<div class="post-metadata">

**Author:** ![PMUK](https://avatars.discourse-cdn.com/v4/letter/p/7993a0/32.png) [@PMUK](https://forums.realmacsoftware.com/u/PMUK)\
**Post date:** [February 26, 2026, 2:47pm UTC](https://forums.realmacsoftware.com/t/password-pages-and-custom-html/54720/11 "2026-02-26T14:47:34Z")

</div>

Ok perhaps crossed purposes I pressed the open button and got next page/ download zoom controls etc. and a narrowed page hence pics. On opening I get the small view as per pic. I wear glasses so like things big!😂😂😂

---

<div class="post-metadata">

**Author:** ![jwDave](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/jwdave/32/31841_2.png) [@jwDave](https://forums.realmacsoftware.com/u/jwDave)\
**Post date:** [February 26, 2026, 2:49pm UTC](https://forums.realmacsoftware.com/t/password-pages-and-custom-html/54720/12 "2026-02-26T14:49:00Z")

</div>

So working ok for you now?

---

<div class="post-metadata">

**Author:** ![PMUK](https://avatars.discourse-cdn.com/v4/letter/p/7993a0/32.png) [@PMUK](https://forums.realmacsoftware.com/u/PMUK)\
**Post date:** [February 26, 2026, 3:35pm UTC](https://forums.realmacsoftware.com/t/password-pages-and-custom-html/54720/13 "2026-02-26T15:35:11Z")

</div>

No it’s exactly same as photo I uploaded!

---

<div class="post-metadata">

**Author:** ![Jeffinn](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@Jeffinn](https://forums.realmacsoftware.com/u/Jeffinn)\
**Post date:** [February 26, 2026, 4:48pm UTC](https://forums.realmacsoftware.com/t/password-pages-and-custom-html/54720/14 "2026-02-26T16:48:07Z")

</div>

I just took a look at your page and for me it opens and appears the same as your screen shot.

---

<div class="post-metadata">

**Author:** ![PMUK](https://avatars.discourse-cdn.com/v4/letter/p/7993a0/32.png) [@PMUK](https://forums.realmacsoftware.com/u/PMUK)\
**Post date:** [February 26, 2026, 5:10pm UTC](https://forums.realmacsoftware.com/t/password-pages-and-custom-html/54720/15 "2026-02-26T17:10:55Z")

</div>

OK more confused, “my page” what are you referring to? If it’s my project for PDF yes the limitations are it opening and squashing screen and also theres no menu bar on iPad/iphone as apple doesnt have it. We discussed this at time. I thought you’d made me happy today but it appears same as mine in the squashy bit.

---

<div class="post-metadata">

**Author:** ![jwDave](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/jwdave/32/31841_2.png) [@jwDave](https://forums.realmacsoftware.com/u/jwDave)\
**Post date:** [February 26, 2026, 5:28pm UTC](https://forums.realmacsoftware.com/t/password-pages-and-custom-html/54720/16 "2026-02-26T17:28:09Z")

</div>

I am not sure how to assist further, sorry you have an issue, the attached screenshot is from my phone, it has page control, zoom control, ‘FIT’ option.

 ![FCEB7CEB-F0D8-4A81-BB46-06F4098AAF4A](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/9/6/96a4889786b0305a4de9afcaa883223f865df3a6.jpeg)

---

<div class="post-metadata">

**Author:** ![PMUK](https://avatars.discourse-cdn.com/v4/letter/p/7993a0/32.png) [@PMUK](https://forums.realmacsoftware.com/u/PMUK)\
**Post date:** [February 26, 2026, 5:56pm UTC](https://forums.realmacsoftware.com/t/password-pages-and-custom-html/54720/17 "2026-02-26T17:56:43Z")

</div>

Excellent thats what In have however press the open tab next to fit and have a look at the image then.

---

<div class="post-metadata">

**Author:** ![jwDave](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/jwdave/32/31841_2.png) [@jwDave](https://forums.realmacsoftware.com/u/jwDave)\
**Post date:** [February 26, 2026, 6:11pm UTC](https://forums.realmacsoftware.com/t/password-pages-and-custom-html/54720/18 "2026-02-26T18:11:23Z")

</div>

Ok, but the thing is this. If you don’t press the Open button then you have the toolbar with page control next/prev etc to change page, zoom in/out and FIT. BUT there is no scroll through the pages. Press the open button and you no longer have the toolbar but you can manually scroll down the file.

I have just noticed though that on my iPhone the zoom +/- does not work 😰

---

<div class="post-metadata">

**Author:** ![PMUK](https://avatars.discourse-cdn.com/v4/letter/p/7993a0/32.png) [@PMUK](https://forums.realmacsoftware.com/u/PMUK)\
**Post date:** [February 26, 2026, 8:41pm UTC](https://forums.realmacsoftware.com/t/password-pages-and-custom-html/54720/19 "2026-02-26T20:41:36Z")

</div>

Dave - the joys of experimenting!🤣🤣 The image was too small thats why I opened it. Didnt check anything else but will delve a little deeper tomorrow, as just in from swimming and having a bite to eat soon.

---

<div class="post-metadata">

**Author:** ![jwDave](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/jwdave/32/31841_2.png) [@jwDave](https://forums.realmacsoftware.com/u/jwDave)\
**Post date:** [February 27, 2026, 1:35pm UTC](https://forums.realmacsoftware.com/t/password-pages-and-custom-html/54720/20 "2026-02-27T13:35:39Z")

</div>

BTW when I press the open button it opens perfectly on all my devices, just wiypthout the toolbar but with scrolling. The zoom control works for me on Mac and iPad but not on iPhone, I will investigate this.
