Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Password protecting HTML pages

Featured Replies

Is there a way to password protect my "menu page" (default.htm) via Filemaker? I'm using custom web publishing and the web publishing database. That protects the databases fine, but I'd like to lock the front door too.

Thanks,

Mark Durgee

Try using the "cdml_format_files" folder for your Format files. You can also have an FMP-If/InlineAction in each page to assist with page security.

All the best.

Garry

I am not sure what Mark need, but maybe the password protection should ask visitor for password immediately on default.htm page?

That cannot be done AFAIK, only on Web server level. If you redirect in the META redirection the default.htm to FM generated page with some actions, which need password like -new, -edit browser will ask depending on your settings.

For the same you can use Frameset as well.

And Mark, to get full picture about FM security, search for "security loophole".

  • Author

Thanks, Garry. Right now all the format files are in the "cdml_format_files" folder. But I have a "front page" to guide user to where they need to be and this is the one that I would like to be password protected. In other words I'd like the password prompt to appear as soon as the user hits my Filemaker website.

Am I invisible, or my post?

I think it's u Anatoli...did u loose some weight? smile.gif

Yes, 4 lbs. How do you know?

Anatoli has given one method.

Another method would depend on the URL used to access the "default.html" page. You could use a CDML URL with "-findany", however no need for any CDML tags in the page. For example,

http://myurl/FMPro?-db=anydb.fp5&-format=default.html&-findany

Hope this helps.

Garry

p.s. Or is the "default.html" being accessed directly via a DNS?

  • Author

>Or is the "default.html" being accessed directly via a DNS? <

Yes. sales.myURL.com opens default.htm directly.

I only have Filemaker Pro at the moment, I will have about 5 users for what I'm building now. But I may get Filemaker Unlimited as the system grows and I think I can use IIS as a web server instead and use NT authentication instead of Filemaker security. At least for any files sitting in the "web" folder.

OK. Use either a META Redirect, as Anatoli described, with a simple CDML URL (like the one I described).

Or, use an "onload=Javascript:document.forms[0].submit()", in the <body> tag, with a Simple Form in the default.html page.

Good Luck.

Garry

RE: I can use IIS as a web server instead and use NT authentication instead of Filemaker security. At least for any files sitting in the "web" folder.

I don't think so. NT will be fine for small number of users for files placed within wwwroot structure

Maybe it will work, but I doubt that WC will be happy and the folder starts in Program Files and not the wwwroot.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.