Skip 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.

How do you authenticate users: via FM7 or PHP?

Featured Replies

Hello gang,

I'm developing a custom app in FM7, FMS7A and PHP/FX.php. Hosted on Win2003 Server running IIS6. Hopefully someone can advise on a high-level approach to user authentication. Here's what I need:

1 - Multiple users, each with specific functional access privileges.

2 - One class of management users must be able to create, edit and delete other users.

3 - Tracking sessions is nice, but not required.

4 - I am able to require users to allow cookies.

How would you approach this?

Authenticate via PHP

On every page, include a PHP function that verifies who the user is and reconcile that with permission to view the page. There is a good example of this option in the Bowers/Lane FMP 6 Web Development book. Is this efficient? Are their security concerns with setting session variables via cookies or on the server? Can you recommend other sources for PHP authentication?

Authenticate via FileMaker

The new Accounts & Privileges features in FP7 meet my criterion if the app was exclusive to FileMaker or published via IWP. How can I tap this logic using PHP? How can I write Scriptmaker scripts and then call them from PHP?

Thanks in advance!

Shannon

-=-=-

  • 1 month later...
  • Newbies

Hi Shannon...

Did you resolve this problem in the end? Would be great if you could PM me to point me in the right direction...I'm facing a similar issue.

Cheers

My suggestion is that you control the access through PHP. That is, PHP just talks to FM via one UserID, all other user functionality and privileges are determined within your PHP program logic.

Good Luck.

Garry

  • Newbies

Okay thanks mate...

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.