Jump to content

This topic is 7319 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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
Posted

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

Posted

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

This topic is 7319 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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