Developer’s Guide

Table Of Contents
6-16
Developer’s Guide
If desired, use the [FMP-CurrentError] and [FMP-CurrentDatabase]
tags in the format file to display the results of the request (the
“current database” was successfully opened or the “current
database” could not be opened because of “error #”).
Here is an example of making a –dbopen request:
FMPro?–db=secretfolder/employees.fp5&–format=dbopen.htm&
–password=dbpassword&–dbopen
Here is an example of making a –dbclose request:
FMPro?–db=secretfolder/employees.fp5&–format=dbclose.htm&
–dbclose
For more information, see “Generating FileMaker Pro CGI requests
using CDML” on page 9-3.
Using the Web Security Database
The FileMaker Pro Web Security Database is a set of three related
databases working together to protect your databases published on an
intranet or the Internet. Designed to work with your custom web
pages, the Web Security Database lets you provide user name and
password protection to multiple FileMaker Pro databases.You can
set specific user permissions and field restrictions for each database,
and update or change those settings directly from your web browser.
With a Web Security user name and an optional password, web users
can do one or more of the following in your published database(s):
1 Browse records
1 Create records
1 Edit records
1 Delete records
1 Perform scripts
1 View all except certain restricted fields
1 Search all except certain restricted fields
1 Edit all except certain restricted fields
1 Enter a special value in a restricted field and access only those
records that contain the exact matching value
1 Modify or delete records containing exact matching values in the
restricted field
Important The Web Security Database is not designed to work with
FileMaker Pro Instant Web Publishing—and the ExactSearch,
ExactUpdate, and ExactDelete field restrictions do not function
properly.
How the Web Security Database works
The Web Security Database includes two types of files: databases for
providing web security and HTML pages for changing the web
security settings remotely. Web security is controlled by a main
database named Web Security.fp5 and two related databases named
Web Users.fp5 and Web Fields.fp5.
When users attempt to access your protected database on the Web,
the web browser displays a user name and password dialog box.