Development Guide
Table Of Contents
- Chapter 1 Setting up databases for FileMaker Go
- Chapter 2 Differences between FileMaker Go and FileMaker Pro
- Chapter 3 Designing databases for FileMaker Go
- Chapter 4 Protecting databases in FileMaker Go
Chapter 4 | Protecting databases in FileMaker Go 21
Using the fmreauthenticate extended privilege
Use the fmreauthenticate extended privilege to control when users will be required to
reauthenticate after not using FileMaker
Go for a specified period of time.
With this privilege, when FileMaker Go switches to the foreground users must re-enter the account
name and password if the specified time limit has elapsed. Users can attempt to enter their
account name and password five times before FileMaker
Go closes the files.
New privilege sets created in FileMaker Pro include the keyword fmreauthenticate10 by default.
The fmreauthenticate extended privilege activates any time a user leaves the context of the app,
including iOS alerts, and sleep.
If a file converted from an earlier version of FileMaker Pro:
1 does not have the fmrestorelogin extended privilege, FileMaker Pro adds the keyword
fmreauthenticate0.
1 does have the fmrestorelogin extended privilege, FileMaker Pro removes it.
Opening files and running scripts using the FMP protocol
In FileMaker Pro, you can use the FMP protocol in a URL to open a shared, remote FileMaker Pro
file. For example:
[<][URL:]FMP://[[account:password@]netaddress]/databasename[>]
You can also use the FMP protocol to open and run a specified script in remote FileMaker Pro
files, hibernated files, local database files on a device, or to communicate with other apps.
Example 1: Opening remote files
Open a file named Clients.fmp12 on the host machine with an IP address of 192.168.10.0 with a
script named ListClients.
FMP://192.168.10.0/Clients.fmp12?script=ListClients
Example 2: Opening hibernated files
Reopen a file named Clients.fmp12 that was hibernated in FileMaker Go with a script named
ListClients.
fmp://$/Clients.fmp12?script=ListClients
Note When using FMP, FileMaker Go restores all hibernated files first and then processes FMP.
Example 3: Opening local files
Open a local file named Clients.fmp12 on the device with a script named ListClients.
fmp://~/Clients.fmp12?script=ListClients
Example 4: Passing parameters to a script and defining local variables
Open a file named Clients.fmp12 on the host machine with an IP address of 192.168.10.0 with a
script named ListClients. Specify a parameter of TopClients and a local variable $NumberToList
with a value of 10.
FMP://192.168.10.0/Clients.fmp12?script=ListClients¶m=TopClients&$NumberTo
List=10